49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
args @ { 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 = let
|
|
monitors = import ../utils/monitors.nix args;
|
|
in [
|
|
"video=${monitors.left}:1920x1080@240"
|
|
"video=${monitors.right}: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 ];
|
|
}
|