lib doesn't have packages, lazy to parse inputs

This commit is contained in:
Yadunand Prem 2025-08-31 16:31:08 +08:00
parent 933c635d46
commit 9d8a37010e
3 changed files with 17 additions and 14 deletions

View File

@ -1,5 +1,6 @@
{ {
pkgs, inputs,
lib,
... ...
}: }:
{ {
@ -12,7 +13,6 @@
in in
{ {
openssh.authorizedKeys.keys = sshKeys; openssh.authorizedKeys.keys = sshKeys;
shell = pkgs.nushell;
} }
// attrs; // attrs;
} }

View File

@ -28,6 +28,8 @@ in
]; ];
users.users = { users.users = {
yadunut = lib.snowfall.mkUser { yadunut = lib.snowfall.mkUser {
shell = pkgs.nushell;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
hashedPassword = "$y$j9T$9ATrmrhedhb.mAZ4//PiN/$OStCOaJHt3kPA63imTG3zLMWCSLoWCUph5O6jl5mcZ."; hashedPassword = "$y$j9T$9ATrmrhedhb.mAZ4//PiN/$OStCOaJHt3kPA63imTG3zLMWCSLoWCUph5O6jl5mcZ.";
}; };

View File

@ -32,7 +32,7 @@ in
time.timeZone = "Asia/Singapore"; time.timeZone = "Asia/Singapore";
networking={ networking = {
networkmanager.enable = true; networkmanager.enable = true;
nftables.enable = true; nftables.enable = true;
firewall = { firewall = {
@ -52,6 +52,7 @@ in
}; };
users.users.cs3223 = lib.snowfall.mkUser { users.users.cs3223 = lib.snowfall.mkUser {
shell = pkgs.nushell;
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
}; };