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
{
openssh.authorizedKeys.keys = sshKeys;
shell = pkgs.nushell;
}
// attrs;
}

View File

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

View File

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