mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
66 lines
1.6 KiB
Nix
66 lines
1.6 KiB
Nix
inputs: {
|
|
pkgs,
|
|
settings,
|
|
...
|
|
}: {
|
|
imports = [
|
|
(import ../imports/boot.nix inputs)
|
|
(import ../imports/fonts.nix inputs)
|
|
(import ../imports/git.nix inputs)
|
|
(import ../imports/packages.nix inputs)
|
|
(import ../imports/prime.nix inputs)
|
|
(import ../imports/gnome.nix inputs)
|
|
(import ../imports/shells.nix inputs)
|
|
(import ../imports/gaming.nix inputs)
|
|
(import ../imports/theme.nix inputs)
|
|
];
|
|
nixpkgs.allowedUnfree = [
|
|
"nvidia-x11"
|
|
"nvidia-persistenced"
|
|
"steam"
|
|
"steam-original"
|
|
"steam-run"
|
|
];
|
|
system.stateVersion = "23.05";
|
|
environment.systemPackages = [
|
|
pkgs.webcord
|
|
];
|
|
networking.hostName = settings.hostname;
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
users = {
|
|
users."${settings.username}" = {
|
|
uid = 1000;
|
|
isNormalUser = true;
|
|
extraGroups = ["audio" "networkmanager"];
|
|
};
|
|
};
|
|
services.xserver.displayManager.autoLogin = {
|
|
enable = true;
|
|
user = settings.username;
|
|
};
|
|
hardware.bluetooth.enable = true;
|
|
services.blueman.enable = true;
|
|
boot = {
|
|
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci"];
|
|
kernelModules = ["kvm-amd"];
|
|
};
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/0822f37a-e55b-4b56-aeae-b6f4a11306c3";
|
|
fsType = "ext4";
|
|
label = "nixos";
|
|
noCheck = false;
|
|
mountPoint = "/";
|
|
neededForBoot = true;
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/EA2C-E488";
|
|
fsType = "vfat";
|
|
label = "BOOT";
|
|
noCheck = false;
|
|
mountPoint = "/boot";
|
|
neededForBoot = true;
|
|
};
|
|
};
|
|
}
|