This commit is contained in:
Sebastian Moser
2023-11-22 19:18:00 +01:00
parent b68a4f1fab
commit d0b78760b3
3 changed files with 9 additions and 14 deletions

View File

@@ -182,6 +182,12 @@
specialArgs = { inherit inputs confDir workDir secretsDir persistentDir self; };
modules = [
./hosts/tab/nix-on-droid.nix
{
home-manager.extraSpecialArgs = {
inherit self inputs;
hostname = "tab";
};
}
];
};
};

View File

@@ -1,4 +1,4 @@
{ pkgs, self, config, lib, specialArgs, ... }:
{ pkgs, config, lib, specialArgs, ... }:
let
sshdTmpDirectory = "${config.user.home}/sshd-tmp";
sshdDirectory = "${config.user.home}/sshd";
@@ -21,12 +21,6 @@ in
# Set your time zone.
time.timeZone = "Europe/Vienna";
# add mybin to path
environment.etc.profile.text = ''
export PATH=$PATH:${self}/mybin
'';
nix.extraOptions = ''
experimental-features = nix-command flakes
trusted-users = root @wheel me

View File

@@ -1,4 +1,4 @@
{ pkgs, self, config, lib, ... }:
{ pkgs, config, ... }:
let
sshdTmpDirectory = "${config.user.home}/sshd-tmp";
sshdDirectory = "${config.user.home}/sshd";
@@ -22,12 +22,7 @@ in
time.timeZone = "Europe/Vienna";
# add mybin to path
environment.etc.profile.text = ''
export PATH=$PATH:${self}/mybin
'';
nix.extraOptions = ''
nix.extraOptions = ''
experimental-features = nix-command flakes
trusted-users = root @wheel me
'';