mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
switch to neovim as a pager added parrot and mining modules deleted amd module moved the rest of vfio configuration to vfio.nix moved git from home-manager to system configuration
48 lines
1.1 KiB
Nix
48 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
settings,
|
|
...
|
|
}: {
|
|
#important stuff first
|
|
imports = [
|
|
../modules/boot.nix
|
|
../modules/fonts.nix
|
|
../modules/git.nix
|
|
../modules/packages.nix
|
|
../modules/prime.nix
|
|
../modules/scripts.nix
|
|
../modules/xserver.nix
|
|
../modules/zsh.nix
|
|
];
|
|
networking.hostName = "gerg-laptop";
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
|
|
# end important stuff
|
|
#environment.systemPackages = with pkgs; [
|
|
# xorg.xf86videoamdgpu
|
|
#];
|
|
#don't think i need this^
|
|
# user managment
|
|
users = {
|
|
defaultUserShell = pkgs.zsh;
|
|
users."${settings.username}" = {
|
|
isNormalUser = true;
|
|
extraGroups = ["wheel" "audio" "networkmanager"];
|
|
};
|
|
};
|
|
boot = {
|
|
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci"];
|
|
kernelModules = ["kvm-amd"];
|
|
};
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/c67796b3-d502-47db-8d0e-48f30bc91041";
|
|
fsType = "ext4";
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/AD02-10EA";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
}
|