nixos/systems/desktop.nix
ISnortPennies b2af978996 cleaned up flake
condensed and cleaned up home-manager configuration
moved nix settings to nix.nix (nice name i know)
moved all shell configuration to shell.nix
moved default package exclusion to packages.nix
switched to nitch from neofetch
moved font from overlay
removed almost pointless librewolf home-manager configuration
changed wallpaper
2023-01-30 02:44:40 -05:00

66 lines
1.4 KiB
Nix

{
pkgs,
settings,
lib,
...
}: {
imports = let
modules = [
"boot"
"fonts"
"git"
#"mining"
"packages"
"parrot"
"picom"
"refreshrate"
"scripts"
"sxhkd"
"vfio"
"xserver"
"shells"
];
in
lib.lists.forEach modules (
m:
../modules + ("/" + m + ".nix")
);
networking.hostName = "gerg-desktop";
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.cpu.amd.updateMicrocode = true;
#user managment
users = {
defaultUserShell = pkgs.zsh;
users."${settings.username}" = {
isNormalUser = true;
extraGroups = ["wheel" "audio" "networkmanager" "kvm" "libvirtd"];
};
};
boot = {
initrd = {
kernelModules = ["amdgpu"];
availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"];
supportedFilesystems = ["ext4" "vfat"];
includeDefaultModules = false;
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-id/nvme-Samsung_SSD_980_500GB_S64ENJ0R607785J-part2";
fsType = "ext4";
label = "nixos";
noCheck = false;
mountPoint = "/";
neededForBoot = true;
};
"/boot" = {
device = "/dev/disk/by-id/nvme-Samsung_SSD_980_500GB_S64ENJ0R607785J-part1";
fsType = "vfat";
label = "BOOT";
noCheck = false;
mountPoint = "/boot";
neededForBoot = true;
};
};
}