NixOS 25.11 migration

This commit is contained in:
TheWanderingCrow 2025-12-01 08:24:10 -05:00
parent bc5129a87d
commit 5718c8ca6d
16 changed files with 107 additions and 463 deletions

View file

@ -3,13 +3,14 @@
pkgs,
lib,
...
}: let
}:
let
loginKey = builtins.readFile ./installer.pub;
in {
in
{
environment.systemPackages = builtins.attrValues {
inherit (inputs.nvix.packages.${pkgs.system}) default;
inherit
(pkgs)
inherit (inputs.nvix.packages.${pkgs.stdenv.hostPlatform.system}) default;
inherit (pkgs)
vim
git
just
@ -19,7 +20,16 @@ in {
;
};
boot.supportedFilesystems = lib.mkForce ["zfs" "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs"];
boot.supportedFilesystems = lib.mkForce [
"zfs"
"btrfs"
"reiserfs"
"vfat"
"f2fs"
"xfs"
"ntfs"
"cifs"
];
networking = {
wireless.enable = lib.mkForce false;
@ -27,8 +37,8 @@ in {
enableIPv6 = false;
};
users.users.nixos.openssh.authorizedKeys.keys = [loginKey];
users.users.root.openssh.authorizedKeys.keys = [loginKey];
users.users.nixos.openssh.authorizedKeys.keys = [ loginKey ];
users.users.root.openssh.authorizedKeys.keys = [ loginKey ];
services.openssh = {
enable = true;