Compare commits
2 Commits
acef26a90f
...
78b265a640
Author | SHA1 | Date |
---|---|---|
David Morgan | 78b265a640 | |
David Morgan | 5b54c148b7 |
|
@ -3,7 +3,7 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.cleanTmpDir = true;
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
||||
networking.hostName = "djmuk1";
|
||||
networking.firewall = {
|
||||
|
@ -13,9 +13,11 @@
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
kbdInteractiveAuthentication = false;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
extraConfig = ''
|
||||
#AllowTcpForwarding yes
|
||||
X11Forwarding no
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.cleanTmpDir = true;
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
networking.hostName = "djmuk2";
|
||||
|
@ -14,9 +14,11 @@
|
|||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
kbdInteractiveAuthentication = false;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
extraConfig = ''
|
||||
#AllowTcpForwarding yes
|
||||
X11Forwarding no
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
./network-configuration.nix
|
||||
];
|
||||
|
||||
boot.cleanTmpDir = true;
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
zramSwap.enable = true;
|
||||
|
||||
networking.hostName = "edrahil";
|
||||
|
@ -16,10 +16,12 @@
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 2222 ];
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
allowSFTP = true;
|
||||
kbdInteractiveAuthentication = false;
|
||||
extraConfig = ''
|
||||
#AllowTcpForwarding yes
|
||||
X11Forwarding no
|
||||
|
|
|
@ -18,7 +18,7 @@ export NIX_PATH=$HOME/.nix-defexpr/channels:/nix/var/nix/profiles/per-user/root/
|
|||
nix-shell '<home-manager>' -A install
|
||||
|
||||
HOME_CONF="$HOME/dotfiles/nix-conf/home/${CONF:-${HOST}}.nix"
|
||||
[ -f $HOME_CONF ] && ln -sf $HOME_CONF ~/.config/nixpkgs/home.nix
|
||||
[ -f $HOME_CONF ] && ln -sf $HOME_CONF ~/.config/home-manager/home.nix
|
||||
ln -sf ~/dotfiles/.p10k.zsh ~/
|
||||
ln -sf ~/dotfiles/.emacs.d ~/
|
||||
|
||||
|
|
Loading…
Reference in New Issue