Add gunter stuff

This commit is contained in:
Torjus Håkestad 2024-03-02 14:59:57 +01:00
parent fb680669fd
commit b3423e8472
2 changed files with 43 additions and 1 deletions

View File

@ -9,7 +9,7 @@
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
"$term" = "alacritty"; "$term" = "alacritty";
monitor = [ "eDP-1,1920x1080@60,0x0,1" ]; # monitor = [ "eDP-1,1920x1080@60,0x0,1" ];
input = { input = {
kb_layout = "no"; kb_layout = "no";
follow_mouse = 1; follow_mouse = 1;

View File

@ -0,0 +1,42 @@
# 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 + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/a7d4b697-fffa-4bcb-9dd7-cbbd6121a50c";
fsType = "xfs";
};
boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/be82b184-3cc7-483b-9069-f7797f51c853";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/DC0C-AAB3";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/2284e9c6-c168-4d4f-ba6a-d270f1ae245d"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp12s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp13s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}