nix/misc/system.nix

48 lines
1 KiB
Nix
Raw Normal View History

2024-07-04 01:14:24 +02:00
{ 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" ];
};
2024-07-10 14:05:49 +02:00
hardware.amdgpu.amdvlk.enable = true;
2024-07-04 01:14:24 +02:00
time.timeZone = "Europe/Warsaw";
sound.enable = true;
hardware.pulseaudio.enable = true;
system.stateVersion = "23.11";
users.users.krizej = {
isNormalUser = true;
2024-07-04 01:25:55 +02:00
extraGroups = [ "wheel" "input" ];
2024-07-04 01:14:24 +02:00
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.krizej = rec {
home.stateVersion = "23.11";
home.username = "krizej";
home.homeDirectory = "/home/krizej";
};
};
2024-07-10 15:01:17 +02:00
environment.localBinInPath = true;
2024-07-04 01:14:24 +02:00
environment.systemPackages = [ pkgs.ntfs3g ];
}