extract desktop environment

This commit is contained in:
2026-09-23 17:49:58 -04:00
parent a21f35a83b
commit bab3cf7a5d
5 changed files with 106 additions and 170 deletions
+16 -14
View File
@@ -3,14 +3,12 @@
{
imports = [
../modules/ssh.nix
../lilac.nix
];
networking.hostName = "vps";
# forwarding inbound network traffic over wireguard
networking = {
hostName = "vps";
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 ];
@@ -64,17 +62,21 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "26.05";
boot = {
initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
kernelModules = [ ];
extraModulePackages = [ ];
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
loader.efi.efiSysMountPoint = "/boot/efi";
};
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
fileSystems."/" = { device = "/dev/vda2"; fsType = "ext4"; };
fileSystems."/boot/efi" = { device = "/dev/vda1"; fsType = "vfat"; };
fileSystems."/" = {
device = "/dev/vda2";
fsType = "ext4";
};
fileSystems."/boot/efi" = {
device = "/dev/vda1";
fsType = "vfat";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";