diff --git a/home/packages/.linux.nix.swp b/home/packages/.linux.nix.swp new file mode 100644 index 0000000..2b07d50 Binary files /dev/null and b/home/packages/.linux.nix.swp differ diff --git a/home/packages/linux.nix b/home/packages/linux.nix index 79436a2..df40f8f 100644 --- a/home/packages/linux.nix +++ b/home/packages/linux.nix @@ -3,16 +3,5 @@ lib.mkIf pkgs.stdenv.isLinux { home.packages = with pkgs; [ imv xdg-utils - ] ++ lib.optionals isNixOS [ - betterdiscordctl - vesktop - xfce.thunar - pavucontrol - godot - aseprite - zathura - gpu-screen-recorder - gpu-screen-recorder-gtk - inetutils ]; } diff --git a/modules/machine/thancred/hardware-configuration.nix b/modules/machine/thancred/hardware-configuration.nix index c81f1da..382377f 100644 --- a/modules/machine/thancred/hardware-configuration.nix +++ b/modules/machine/thancred/hardware-configuration.nix @@ -1,3 +1,32 @@ -{ ... }: { - # TODO: needs to filled out later +# 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 = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/e2e621c1-0090-472a-99d9-61c6a87bd068"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/663E-15C0"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/60104b1a-4285-4dd1-be5e-3c3dee24515a"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }