mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
remove tmpfile rule which reloaded libvirt.d every rebuild
This commit is contained in:
parent
ca1c54245f
commit
a58ba87955
5 changed files with 14 additions and 7 deletions
|
|
@ -31,4 +31,12 @@
|
|||
timeout = 0;
|
||||
};
|
||||
};
|
||||
systemd.services.efibootmgr = {
|
||||
serviceConfig.Type = "oneshot";
|
||||
path = [pkgs.efibootmgr];
|
||||
wantedBy = ["default.target"];
|
||||
script = ''
|
||||
efibootmgr -t 0
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ _: {pkgs, ...}: {
|
|||
fi
|
||||
'';
|
||||
bash.interactiveShellInit = ''
|
||||
if [ $- == *i* ] && ! printenv PATH | grep -qc '/nix/store' && [ -z "$IN_NIX_SHELL" ] ; then
|
||||
if [[ $- == *i* ]] && ! printenv PATH | grep -qc '/nix/store' && [ -z "$IN_NIX_SHELL" ] ; then
|
||||
eval "$(direnv hook bash)"
|
||||
fi
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue