re-organize
This commit is contained in:
parent
81b49aa923
commit
350973f556
35 changed files with 8 additions and 8 deletions
|
@ -28,6 +28,7 @@
|
|||
# NixOS
|
||||
clean = "nh clean all";
|
||||
rebuild = "nh os switch";
|
||||
rebuildServer = "nixos-rebuild switch --flake ~/.config/nixos#quadraticserver --target-host quadradical@192.168.0.132 --use-remote-sudo";
|
||||
update = "pushd ~/.config/nixos && nix flake update && popd && rebuild";
|
||||
};
|
||||
};
|
||||
|
|
1
modules/server/sigs.nix
Normal file
1
modules/server/sigs.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{nix.settings.require-sigs = false;}
|
10
modules/server/ssh.nix
Normal file
10
modules/server/ssh.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = true; # TODO: False
|
||||
AllowUsers = ["quadradical"];
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue