...
This commit is contained in:
@@ -182,6 +182,12 @@
|
|||||||
specialArgs = { inherit inputs confDir workDir secretsDir persistentDir self; };
|
specialArgs = { inherit inputs confDir workDir secretsDir persistentDir self; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/tab/nix-on-droid.nix
|
./hosts/tab/nix-on-droid.nix
|
||||||
|
{
|
||||||
|
home-manager.extraSpecialArgs = {
|
||||||
|
inherit self inputs;
|
||||||
|
hostname = "tab";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, self, config, lib, specialArgs, ... }:
|
{ pkgs, config, lib, specialArgs, ... }:
|
||||||
let
|
let
|
||||||
sshdTmpDirectory = "${config.user.home}/sshd-tmp";
|
sshdTmpDirectory = "${config.user.home}/sshd-tmp";
|
||||||
sshdDirectory = "${config.user.home}/sshd";
|
sshdDirectory = "${config.user.home}/sshd";
|
||||||
@@ -21,12 +21,6 @@ in
|
|||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Vienna";
|
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
|
experimental-features = nix-command flakes
|
||||||
trusted-users = root @wheel me
|
trusted-users = root @wheel me
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, self, config, lib, ... }:
|
{ pkgs, config, ... }:
|
||||||
let
|
let
|
||||||
sshdTmpDirectory = "${config.user.home}/sshd-tmp";
|
sshdTmpDirectory = "${config.user.home}/sshd-tmp";
|
||||||
sshdDirectory = "${config.user.home}/sshd";
|
sshdDirectory = "${config.user.home}/sshd";
|
||||||
@@ -22,12 +22,7 @@ in
|
|||||||
time.timeZone = "Europe/Vienna";
|
time.timeZone = "Europe/Vienna";
|
||||||
|
|
||||||
|
|
||||||
# add mybin to path
|
nix.extraOptions = ''
|
||||||
environment.etc.profile.text = ''
|
|
||||||
export PATH=$PATH:${self}/mybin
|
|
||||||
'';
|
|
||||||
|
|
||||||
nix.extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
trusted-users = root @wheel me
|
trusted-users = root @wheel me
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user