diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2024-11-20 10:17:37 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2024-11-20 10:17:37 +0100 |
commit | e13abf01c7fdd612f1ff826387dac2ca30623d00 (patch) | |
tree | f70398a96af9c35e4ed9ea3dac647a82cd29aca5 /accounts/gkleen@sif | |
parent | 25b28a4ff56c0fc9561b559ad3c2c0b76cc0d4cf (diff) | |
download | nixos-e13abf01c7fdd612f1ff826387dac2ca30623d00.tar nixos-e13abf01c7fdd612f1ff826387dac2ca30623d00.tar.gz nixos-e13abf01c7fdd612f1ff826387dac2ca30623d00.tar.bz2 nixos-e13abf01c7fdd612f1ff826387dac2ca30623d00.tar.xz nixos-e13abf01c7fdd612f1ff826387dac2ca30623d00.zip |
...
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/libvirt/default.nix | 5 | ||||
-rw-r--r-- | accounts/gkleen@sif/zshrc | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/accounts/gkleen@sif/libvirt/default.nix b/accounts/gkleen@sif/libvirt/default.nix index 14480d55..f86a68a2 100644 --- a/accounts/gkleen@sif/libvirt/default.nix +++ b/accounts/gkleen@sif/libvirt/default.nix | |||
@@ -9,7 +9,8 @@ with flakeInputs.nixVirt.lib; | |||
9 | enable = true; | 9 | enable = true; |
10 | connections."qemu:///session" = { | 10 | connections."qemu:///session" = { |
11 | domains = [ | 11 | domains = [ |
12 | { definition = domain.writeXML (recursiveUpdate (domain.templates.windows { | 12 | { definition = domain.writeXML (updateManyAttrsByPath [ |
13 | ] (recursiveUpdate (domain.templates.windows { | ||
13 | name = "lmmirzm-vmrz01"; | 14 | name = "lmmirzm-vmrz01"; |
14 | uuid = "9e1dab2e-7986-4cb3-88af-6fad8969e15f"; | 15 | uuid = "9e1dab2e-7986-4cb3-88af-6fad8969e15f"; |
15 | memory = { count = 16; unit = "GiB"; }; | 16 | memory = { count = 16; unit = "GiB"; }; |
@@ -48,7 +49,7 @@ with flakeInputs.nixVirt.lib; | |||
48 | } | 49 | } |
49 | ]; | 50 | ]; |
50 | devices.tpm.model = "tpm-tis"; | 51 | devices.tpm.model = "tpm-tis"; |
51 | }); | 52 | })); |
52 | } | 53 | } |
53 | { definition = domain.writeXML (recursiveUpdate (domain.templates.linux { | 54 | { definition = domain.writeXML (recursiveUpdate (domain.templates.linux { |
54 | name = "vmrz02"; | 55 | name = "vmrz02"; |
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc index adc7feb4..c6052ae3 100644 --- a/accounts/gkleen@sif/zshrc +++ b/accounts/gkleen@sif/zshrc | |||
@@ -128,7 +128,7 @@ dir() { | |||
128 | fi | 128 | fi |
129 | 129 | ||
130 | 130 | ||
131 | ${wormhole} && wormhole receive | 131 | ${wormhole} && wormhole receive --accept-file |
132 | 132 | ||
133 | 133 | ||
134 | if ${quickserve}; then | 134 | if ${quickserve}; then |