Consolidate config for vm02116

This commit is contained in:
Nicolas Jeannerod 2024-11-20 17:20:12 +01:00
parent d2638845d0
commit 2beb64af83
Signed by untrusted user: Niols
GPG key ID: 35DB9EC8886E1CB8
3 changed files with 15 additions and 17 deletions

View file

@ -17,11 +17,7 @@
}; };
nixpkgs = inputs.nixpkgs; nixpkgs = inputs.nixpkgs;
nixos.module = { nixos.module = {
imports = [ imports = [ ./vm02116 ];
./vm02116/configuration.nix
./vm02116/forgejo.nix
./vm02116/hardware-configuration.nix
];
}; };
}; };

View file

@ -1,5 +1,8 @@
{ {
imports = [ ../common ]; imports = [
../common
./forgejo.nix
];
procolix.vm = { procolix.vm = {
name = "vm02116"; name = "vm02116";
@ -12,4 +15,14 @@
## two options can safely be removed. ## two options can safely be removed.
boot.initrd.availableKernelModules = [ "xen_blkfront" ]; boot.initrd.availableKernelModules = [ "xen_blkfront" ];
services.xe-guest-utilities.enable = true; services.xe-guest-utilities.enable = true;
fileSystems."/" = {
device = "/dev/disk/by-uuid/3802a66d-e31a-4650-86f3-b51b11918853";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2CE2-1173";
fsType = "vfat";
};
} }

View file

@ -1,11 +0,0 @@
{
fileSystems."/" = {
device = "/dev/disk/by-uuid/3802a66d-e31a-4650-86f3-b51b11918853";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2CE2-1173";
fsType = "vfat";
};
}