add daedalusvm to flake

This commit is contained in:
Philipp Hochkamp 2022-06-03 02:31:16 +02:00
parent 76679c2275
commit 408a693b3f
No known key found for this signature in database
GPG key ID: 3676AB4CB36E5641
3 changed files with 8 additions and 6 deletions

View file

@ -138,7 +138,7 @@
nixosConfigurations = processConfigurations {
picard = nixosSystem "x86_64-linux" [ ./hosts/picard/default.nix ];
ds9 = nixosSystem "x86_64-linux" [ ./hosts/ds9/default.nix ];
backuppi = nixosSystem "aarch64-linux" [ ./hosts/backuppi/default.nix ];
daedalusvm = nixosSystem "aarch64-linux" [ ./hosts/daedalusvm/default.nix ];
};
darwinConfigurations = processConfigurations {
daedalus = darwinSystem "aarch64-darwin" [ ./hosts/daedalus/default.nix ];

View file

@ -18,10 +18,12 @@ in
boot.loader.efi.canTouchEfiVariables = true;
# Immutable users due to tmpfs
users.mutableUsers = false;
services.openssh.forwardX11 = true;
ragon = {
cli.enable = true;
user.enable = true;
system.security.enable = false;
services = {
docker.enable = true;

View file

@ -7,15 +7,15 @@
imports = [ "${modulesPath}/profiles/qemu-guest.nix" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "virtio_pci" "usbhid" "usb_storage" "sr_mod" ];
networking.interfaces.enp0s6.useDHCP = true;
swapDevices = [{ device = "/dev/disk/by-id/NIXOS_SWAP"; }];
networking.interfaces.enp0s5.useDHCP = true;
swapDevices = [{ device = "/dev/disk/by-label/NIXOS_SWAP"; }];
fileSystems."/boot" = {
device = "/dev/disk/by-id/NIXOS_BOOT";
fstype = "vfat";
device = "/dev/disk/by-label/NIXOS_BOOT";
fsType = "vfat";
};
fileSystems."/" = {
device = "/dev/disk/by-id/NIXOS_ROOT";
device = "/dev/disk/by-label/NIXOS_ROOT";
fsType = "ext4";
};
}