mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-12-30 11:04:19 +00:00
Add more paths
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = ''${pkgs.bash}/bin/bash -c "cd /etc/nixos && ${pkgs.git}/bin/git pull && ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake \#$(hostname)"'';
|
ExecStart = ''${pkgs.bash}/bin/bash -c "cd /etc/nixos && ${pkgs.git}/bin/git pull && ${pkgs.nixos-rebuild}/bin/nixos-rebuild switch --flake \#$(${pkgs.hostname}/bin/hostname)"'';
|
||||||
};
|
};
|
||||||
environment =
|
environment =
|
||||||
config.nix.envVars
|
config.nix.envVars
|
||||||
@@ -18,8 +18,10 @@
|
|||||||
}
|
}
|
||||||
// config.networking.proxy.envVars;
|
// config.networking.proxy.envVars;
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
|
bash
|
||||||
coreutils
|
coreutils
|
||||||
gnutar
|
gnutar
|
||||||
|
hostname
|
||||||
xz.bin
|
xz.bin
|
||||||
gzip
|
gzip
|
||||||
gitMinimal
|
gitMinimal
|
||||||
|
|||||||
Reference in New Issue
Block a user