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 = {
|
||||
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 =
|
||||
config.nix.envVars
|
||||
@@ -18,8 +18,10 @@
|
||||
}
|
||||
// config.networking.proxy.envVars;
|
||||
path = with pkgs; [
|
||||
bash
|
||||
coreutils
|
||||
gnutar
|
||||
hostname
|
||||
xz.bin
|
||||
gzip
|
||||
gitMinimal
|
||||
|
||||
Reference in New Issue
Block a user