From 01e978a00ed3bfee7762001a94c9575217e6fc67 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 15 Mar 2024 10:14:18 +0900 Subject: [PATCH] Update --- flake.nix | 3 ++- home-manager/common/software/cli/tmux.nix | 10 +++++++++- nixos/hosts/framework-server/default.nix | 1 + 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6989aec8..ff897c01 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; }; diff --git a/home-manager/common/software/cli/tmux.nix b/home-manager/common/software/cli/tmux.nix index 6278e03c..f5d8cb1c 100644 --- a/home-manager/common/software/cli/tmux.nix +++ b/home-manager/common/software/cli/tmux.nix @@ -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 + ]; }; } diff --git a/nixos/hosts/framework-server/default.nix b/nixos/hosts/framework-server/default.nix index 768a0e4d..3ed27567 100644 --- a/nixos/hosts/framework-server/default.nix +++ b/nixos/hosts/framework-server/default.nix @@ -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";