Compare commits

...

2 Commits

Author SHA1 Message Date
David Morgan 78b265a640
Use new home-manager config location 2023-11-23 08:13:01 +00:00
David Morgan 5b54c148b7
Update renamed settings 2023-11-23 08:12:32 +00:00
4 changed files with 19 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 ~/