chore: update hyprland windowrule syntax
This commit is contained in:
parent
4456977b9e
commit
c540e9cc73
3 changed files with 155 additions and 96 deletions
|
|
@ -6,9 +6,42 @@ in
|
|||
virtualisation.libvirtd.enable = true;
|
||||
users.extraUsers."${username}".extraGroups = [ "libvirtd" ];
|
||||
|
||||
services.usbmuxd.enable = true;
|
||||
|
||||
boot.extraModprobeConfig = ''
|
||||
options kvm_intel nested=1
|
||||
options kvm_intel emulate_invalid_guest_state=0
|
||||
options kvm ignore_msrs=1 report_ignored_msrs=0
|
||||
'';
|
||||
|
||||
systemd.network.enable = true;
|
||||
networking.useNetworkd = true;
|
||||
|
||||
systemd.network.networks."10-lan" = {
|
||||
matchConfig.Name = [
|
||||
"enp0s31f6"
|
||||
];
|
||||
networkConfig = {
|
||||
Bridge = "virbr0";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.network.netdevs."virbr0" = {
|
||||
netdevConfig = {
|
||||
Name = "virbr0";
|
||||
Kind = "bridge";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.network.networks."10-lan-bridge" = {
|
||||
matchConfig.Name = "virbr0";
|
||||
networkConfig = {
|
||||
Address = [ "192.168.0.5/24" ];
|
||||
Gateway = "192.168.0.1";
|
||||
DNS = [ "192.168.0.1" ];
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
|
||||
environment.etc."qemu/bridge.conf".text = "allow virbr0\n";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,10 +27,12 @@ in
|
|||
systemd.user.services.uxplay = {
|
||||
wantedBy = [ "default.target" ];
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.uxplay}/bin/uxplay ${
|
||||
optionalString (hostname != null) "-n ${hostname} -fs -fps 60 -nh"
|
||||
} -p";
|
||||
optionalString (hostname != null) "-n ${hostname}"
|
||||
} -fps 60 -nh -p";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue