Adam Stephens
dfd0d14efc
lxd-virtual-machine-image: install initial configuration read-write
2024-05-31 10:19:37 -04:00
Adam C. Stephens
6a6f5206d7
Merge pull request #287100 from mkg20001/lxd-fix-config
...
lxd-container-image: set mode of configuration.nix
2024-02-15 07:48:05 -05:00
Adam Stephens
cf68af8561
nixos/lxc/container: switch to networkd by default
2024-02-12 16:26:30 -05:00
Maciej Krüger
2ce33c60cf
lxd-container-image: set mode of configuration.nix
...
before:
```
[root@nixos:~]# ls -la /etc/nixos
total 16
drwxr-xr-x 2 root root 4096 Feb 8 00:51 .
drwxr-xr-x 16 root root 4096 Feb 8 00:51 ..
-r--r--r-- 1 root root 605 Feb 8 00:51 configuration.nix
-rw-r--r-- 1 root root 150 Feb 8 00:51 lxd.nix
```
after:
```
[root@nixos:~]# ls -la /etc/nixos
total 16
drwxr-xr-x 2 root root 4096 Feb 8 00:50 .
drwxr-xr-x 16 root root 4096 Feb 8 00:50 ..
-rw-r--r-- 1 root root 605 Feb 8 00:50 configuration.nix
-rw-r--r-- 1 root root 149 Feb 8 00:50 lxd.nix
```
2024-02-08 01:52:05 +01:00
K900
67f87ecc27
nixos/maintainers/scripts/lxd: simplify config generation
...
Use modulesPath so we don't have to magically rewrite paths in activation script,
set stateVersion to the one this was built with (which should approximate "first install")
2023-10-27 12:56:12 +03:00
Adam Stephens
efd1605be6
nixos/lxd: add virtual-machine support, image and module
2023-09-03 20:06:44 -04:00