diff --git a/flake.nix b/flake.nix index cf0971ce..de2deb26 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,7 @@ nixos-vm-01 = libx.mkHost { hostname = "nixos-vm-01"; }; framework-server = libx.mkHost { hostname = "framework-server"; }; # nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "gnome"; gpu = "nvidia"; }; - nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "green"; }; + # nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "green"; }; nixos-rpi4-01 = libx.mkHost { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; }; nixos-rpi4-02 = libx.mkHost { hostname = "nixos-rpi4-02"; platform = "aarch64-linux"; }; nixos-rpi4-03 = libx.mkHost { hostname = "nixos-rpi4-03"; platform = "aarch64-linux"; }; diff --git a/lib/default.nix b/lib/default.nix index 83180f36..8eafe8f1 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -6,6 +6,7 @@ username ? "albert" }: { user = "root"; + sshUser = "${username}"; hostname = "${hostname}"; sshOpts = [ "-A" "-q"]; @@ -14,7 +15,6 @@ path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname}; user = "root"; sshUser = "${username}"; - sshOpts = [ "-A" ]; }; # home-manager = { # path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";