mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
change vm sound
rollback lockfile (vm broke)
This commit is contained in:
parent
87f75eb925
commit
4149443b66
8 changed files with 70 additions and 64 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
|
||||
<domain type='kvm'>
|
||||
<name>Windows</name>
|
||||
<uuid>035e02d8-04d3-05e5-4706-900700080009</uuid>
|
||||
<memory unit='KiB'>16777216</memory>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
<emulatorpin cpuset='8-15,24-31'/>
|
||||
</cputune>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-q35-8.0'>hvm</type>
|
||||
<type arch='x86_64' machine='pc-q35-8.2'>hvm</type>
|
||||
<loader readonly='yes' type='pflash'>/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>
|
||||
<nvram template='/run/libvirt/nix-ovmf/OVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/Windows_VARS.fd</nvram>
|
||||
<boot dev='hd'/>
|
||||
|
|
@ -193,7 +193,13 @@
|
|||
</input>
|
||||
<input type='mouse' bus='ps2'/>
|
||||
<input type='keyboard' bus='ps2'/>
|
||||
<audio id='1' type='none'/>
|
||||
<sound model='ich9'>
|
||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
|
||||
</sound>
|
||||
<audio id='1' type='pipewire' runtimeDir='/run/user/1000'>
|
||||
<input name='@DEFAULT_SINK@' streamName='win10-in'/>
|
||||
<output name='@DEFAULT_SOURCE@' streamName='win10-out'/>
|
||||
</audio>
|
||||
<hostdev mode='subsystem' type='pci' managed='yes'>
|
||||
<source>
|
||||
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
|
||||
|
|
@ -209,14 +215,4 @@
|
|||
<watchdog model='itco' action='reset'/>
|
||||
<memballoon model='none'/>
|
||||
</devices>
|
||||
<qemu:commandline>
|
||||
<qemu:arg value='-audiodev'/>
|
||||
<qemu:arg value='pipewire,id=audio0'/>
|
||||
<qemu:arg value='-device'/>
|
||||
<qemu:arg value='intel-hda,addr=0x1b'/>
|
||||
<qemu:arg value='-device'/>
|
||||
<qemu:arg value='hda-duplex,audiodev=audio0'/>
|
||||
<qemu:env name='PIPEWIRE_RUNTIME_DIR' value='/run/user/1000'/>
|
||||
</qemu:commandline>
|
||||
</domain>
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,12 @@
|
|||
enable = true;
|
||||
kmscon.enable = true;
|
||||
};
|
||||
allowedUnfree = [ "nvidia-x11" ];
|
||||
allowedUnfree = [
|
||||
"nvidia-x11"
|
||||
"steam"
|
||||
"steam-run"
|
||||
"steam-original"
|
||||
];
|
||||
};
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
hardware.nvidia = {
|
||||
|
|
@ -30,6 +35,8 @@
|
|||
];
|
||||
};
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
loadInNixShell = false;
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
_:
|
||||
{ config, ... }:
|
||||
{config, ... }:
|
||||
{
|
||||
users.users = {
|
||||
${config.services.gitea.user} = {
|
||||
openssh.authorizedKeys.keys = [ config.local.keys.gerg_gerg-desktop ];
|
||||
extraGroups = [ "postgres" ];
|
||||
};
|
||||
${config.services.nginx.user}.extraGroups = [ config.services.gitea.group ];
|
||||
};
|
||||
# users.users = {
|
||||
# ${config.services.gitea.user} = {
|
||||
# openssh.authorizedKeys.keys = [ config.local.keys.gerg_gerg-desktop ];
|
||||
# extraGroups = [ "postgres" ];
|
||||
# };
|
||||
# ${config.services.nginx.user}.extraGroups = [ config.services.gitea.group ];
|
||||
# };
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
stateDir = "/persist/services/gitea";
|
||||
appName = "Powered by NixOS";
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@ _:
|
|||
|
||||
systemd.services = {
|
||||
miniflux = {
|
||||
enable = false;
|
||||
|
||||
description = "Miniflux service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "miniflux-dbsetup.service" ];
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
_:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
sops.secrets.nextcloud.owner = "nextcloud";
|
||||
#sops.secrets.nextcloud.owner = "nextcloud";
|
||||
|
||||
users.users.nextcloud.extraGroups = [ "postgres" ];
|
||||
#users.users.nextcloud.extraGroups = [ "postgres" ];
|
||||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
package = pkgs.nextcloud28;
|
||||
datadir = "/persist/services/nextcloud";
|
||||
hostName = "next.gerg-l.com";
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ _:
|
|||
{
|
||||
sops.secrets.discordenv = { };
|
||||
systemd.services.parrot = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue