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
|
|
@ -29,6 +29,7 @@
|
|||
<nvram>/var/lib/libvirt/qemu/nvram/Windows_VARS.fd</nvram>
|
||||
<boot dev="hd"/>
|
||||
<bootmenu enable="no"/>
|
||||
<smbios mode='host'/>
|
||||
</os>
|
||||
<features>
|
||||
<acpi/>
|
||||
|
|
@ -56,6 +56,7 @@
|
|||
deadnix
|
||||
statix
|
||||
alejandra
|
||||
nix-index
|
||||
;
|
||||
inherit (nvim-flake.packages.${pkgs.system}) neovim;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
{
|
||||
self,
|
||||
pipewire_fix,
|
||||
...
|
||||
}: {
|
||||
{pipewire_fix, ...}: {
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
|
|
@ -108,6 +104,7 @@ in {
|
|||
environment = {
|
||||
systemPackages = [
|
||||
pkgs.virt-manager
|
||||
pkgs.dmidecode
|
||||
];
|
||||
shellAliases = {
|
||||
vm-start = "virsh start Windows";
|
||||
|
|
@ -162,6 +159,6 @@ in {
|
|||
in [
|
||||
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
|
||||
"L+ /var/lib/libvirt/hooks/qemu - - - - ${qemuHook}"
|
||||
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${self}/misc/Windows.xml"
|
||||
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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