mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
NixOS 25.11 migration
This commit is contained in:
parent
bc5129a87d
commit
5718c8ca6d
16 changed files with 107 additions and 463 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue