1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-02-12 04:22:07 +00:00
.dotfiles/nixos/hosts/ioides/configuration.nix

46 lines
1 KiB
Nix
Raw Normal View History

2024-12-31 01:34:13 +00:00
{ config, lib, pkgs, ... }:
{
2024-12-30 22:17:54 -05:00
imports = [
./hardware-configuration.nix
../base.nix
];
2024-12-31 01:34:13 +00:00
boot.loader = {
2024-12-31 01:58:09 +00:00
efi = {
2024-12-30 22:03:29 -05:00
canTouchEfiVariables = false;
efiSysMountPoint = "/efi";
2024-12-31 01:58:09 +00:00
};
2024-12-31 01:34:13 +00:00
grub = {
enable = true;
efiSupport = true;
2024-12-30 22:03:29 -05:00
efiInstallAsRemovable = true;
2024-12-31 02:04:43 +00:00
devices = [ "nodev" ];
2024-12-31 01:34:13 +00:00
};
};
2024-12-30 22:17:54 -05:00
networking.hostName = "ioides";
2024-12-31 01:34:13 +00:00
2024-12-30 22:17:54 -05:00
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
modesetting.enable = true;
powerManagement = {
enable = false;
finegrained = false;
};
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
2024-12-31 00:51:54 -05:00
fonts.fontconfig.subpixel.rgba = "rgb";
2024-12-31 01:34:13 +00:00
2024-12-30 22:17:54 -05:00
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "gr928-8x16-thin";
keyMap = "us";
};
2024-12-31 01:34:13 +00:00
2024-12-30 22:17:54 -05:00
system.stateVersion = "24.11";
2024-12-31 01:34:13 +00:00
}