all repos — nixfiles @ 77adcf5c59991637bbeac6dcdb5cf5202bc4e9da

System and user configuration, managed by nix and home-manager

add initial configuration for new machine 'ulme'

Alin
commit

77adcf5c59991637bbeac6dcdb5cf5202bc4e9da

parent

28cf865c9ae50f84d19d59283538a7dcea5e6086

1 file changed, 30 insertions(+), 0 deletions(-)

changed files
A system/hosts/ulme-hardware.nix
@@ -0,0 +1,30 @@
+# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_blk" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/6d7c73c7-8799-4fac-8eda-58338f46f14a"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/A025-EFFE"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; +}