nix/misc/system.nix
2024-07-10 15:01:17 +02:00

47 lines
1 KiB
Nix

{ pkgs, ... }:
{
boot = {
loader = {
timeout = 2;
grub = {
enable = true;
device = "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S4CNNE0M700172J";
gfxmodeBios = "auto"; # 1920x1080 did not work, this doesn't either
splashImage = null;
font = null;
};
};
# this doesn't even work
kernelParams = [
"video=DP-3:1920x1080@240"
"video=HDMI-1:1920x1080@75"
];
initrd.kernelModules = [ "amdgpu" ];
};
hardware.amdgpu.amdvlk.enable = true;
time.timeZone = "Europe/Warsaw";
sound.enable = true;
hardware.pulseaudio.enable = true;
system.stateVersion = "23.11";
users.users.krizej = {
isNormalUser = true;
extraGroups = [ "wheel" "input" ];
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.krizej = rec {
home.stateVersion = "23.11";
home.username = "krizej";
home.homeDirectory = "/home/krizej";
};
};
environment.localBinInPath = true;
environment.systemPackages = [ pkgs.ntfs3g ];
}