This commit is contained in:
albert 2024-03-15 10:14:18 +09:00
parent ef54bfe5e5
commit 01e978a00e
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
3 changed files with 12 additions and 2 deletions

View file

@ -57,7 +57,7 @@
libx = import ./lib { inherit self inputs outputs stateVersion hmStateVersion; };
in {
nixosConfigurations = {
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small";};
milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";};
framework-server = libx.mkHost { hostname = "framework-server"; };
nuc-server = libx.mkHost { hostname = "nuc-server"; };
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "tokyo-night"; };
@ -68,6 +68,7 @@
};
homeConfigurations = {
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; };
"albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; };
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "tokyo-night"; };

View file

@ -1,4 +1,4 @@
{ ... }: {
{ pkgs, ... }: {
programs.tmux = {
enable = true;
mouse = true;
@ -7,5 +7,13 @@
clock24 = true;
keyMode = "vi";
terminal = "xterm-256color";
plugins = with pkgs.tmuxPlugins; [
weather
sensible
sidebar
sysstat
catppuccin
battery
];
};
}

View file

@ -25,6 +25,7 @@
users.users.root.openssh.authorizedKeys.keys = [
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKp2wgqFcr0LGaUXbom88/zK2631pysePUWIaCMljT0K root@backups-rpi4''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKkNFdEcYIrjss1Nz0tU/AX89hUMmxB/Vabvsa7A6E2K root@osaka-linode-01''
''''
];
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";