parent
e8a0317135
commit
baae25f4e2
4 changed files with 16 additions and 1 deletions
|
@ -7,14 +7,17 @@
|
||||||
}: {
|
}: {
|
||||||
user = "${username}";
|
user = "${username}";
|
||||||
hostname = "${hostname}";
|
hostname = "${hostname}";
|
||||||
|
sshOpts = [ "-A" ];
|
||||||
|
|
||||||
profiles = {
|
profiles = {
|
||||||
system = {
|
system = {
|
||||||
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
path = inputs.deploy-rs.lib.${platform}.activate.nixos self.nixosConfigurations.${hostname};
|
||||||
sshUser = "root";
|
user = "root";
|
||||||
|
sshUser = "${username}";
|
||||||
};
|
};
|
||||||
home-manager = {
|
home-manager = {
|
||||||
path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";
|
path = inputs.deploy-rs.lib.${platform}.activate.home-manager self.homeConfigurations."${username}@${hostname}";
|
||||||
|
user = "${username}";
|
||||||
sshUser = "${username}";
|
sshUser = "${username}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -26,6 +26,10 @@
|
||||||
./hosts/${hostname}
|
./hosts/${hostname}
|
||||||
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
||||||
|
|
||||||
|
# enable passwordless elevation
|
||||||
|
# Useful for deploy-rs
|
||||||
|
security.pam.enableSSHAgentAuth = true;
|
||||||
|
|
||||||
# List packages installed in system profile
|
# List packages installed in system profile
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
sbctl # Secureboot Control
|
sbctl # Secureboot Control
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
./hosts/${hostname}
|
./hosts/${hostname}
|
||||||
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
] ++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop};
|
||||||
|
|
||||||
|
# enable passwordless elevation
|
||||||
|
# Useful for deploy-rs
|
||||||
|
security.pam.enableSSHAgentAuth = true;
|
||||||
|
|
||||||
# List packages installed in system profile
|
# List packages installed in system profile
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
sbctl
|
sbctl
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
./hosts/${hostname}
|
./hosts/${hostname}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# enable passwordless elevation
|
||||||
|
# Useful for deploy-rs
|
||||||
|
security.pam.enableSSHAgentAuth = true;
|
||||||
|
|
||||||
# List packages installed in system profile
|
# List packages installed in system profile
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
|
Loading…
Reference in a new issue