lib doesn't have packages, lazy to parse inputs
This commit is contained in:
parent
933c635d46
commit
9d8a37010e
@ -1,5 +1,6 @@
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@ -12,7 +13,6 @@
|
||||
in
|
||||
{
|
||||
openssh.authorizedKeys.keys = sshKeys;
|
||||
shell = pkgs.nushell;
|
||||
}
|
||||
// attrs;
|
||||
}
|
||||
|
@ -28,6 +28,8 @@ in
|
||||
];
|
||||
users.users = {
|
||||
yadunut = lib.snowfall.mkUser {
|
||||
|
||||
shell = pkgs.nushell;
|
||||
extraGroups = [ "wheel" ];
|
||||
hashedPassword = "$y$j9T$9ATrmrhedhb.mAZ4//PiN/$OStCOaJHt3kPA63imTG3zLMWCSLoWCUph5O6jl5mcZ.";
|
||||
};
|
||||
|
@ -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" ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user