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>
|
<nvram>/var/lib/libvirt/qemu/nvram/Windows_VARS.fd</nvram>
|
||||||
<boot dev="hd"/>
|
<boot dev="hd"/>
|
||||||
<bootmenu enable="no"/>
|
<bootmenu enable="no"/>
|
||||||
|
<smbios mode='host'/>
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
<acpi/>
|
<acpi/>
|
||||||
|
|
@ -56,6 +56,7 @@
|
||||||
deadnix
|
deadnix
|
||||||
statix
|
statix
|
||||||
alejandra
|
alejandra
|
||||||
|
nix-index
|
||||||
;
|
;
|
||||||
inherit (nvim-flake.packages.${pkgs.system}) neovim;
|
inherit (nvim-flake.packages.${pkgs.system}) neovim;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{pipewire_fix, ...}: {
|
||||||
self,
|
|
||||||
pipewire_fix,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
|
@ -108,6 +104,7 @@ in {
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = [
|
systemPackages = [
|
||||||
pkgs.virt-manager
|
pkgs.virt-manager
|
||||||
|
pkgs.dmidecode
|
||||||
];
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
vm-start = "virsh start Windows";
|
vm-start = "virsh start Windows";
|
||||||
|
|
@ -162,6 +159,6 @@ in {
|
||||||
in [
|
in [
|
||||||
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
|
"L /etc/Xorg/active.conf - - - - /etc/Xorg/2_mon.conf"
|
||||||
"L+ /var/lib/libvirt/hooks/qemu - - - - ${qemuHook}"
|
"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;
|
timeout = 0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd.services.efibootmgr = {
|
||||||
|
serviceConfig.Type = "oneshot";
|
||||||
|
path = [pkgs.efibootmgr];
|
||||||
|
wantedBy = ["default.target"];
|
||||||
|
script = ''
|
||||||
|
efibootmgr -t 0
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ _: {pkgs, ...}: {
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
bash.interactiveShellInit = ''
|
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)"
|
eval "$(direnv hook bash)"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue