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

53 lines
1.2 KiB
Nix
Raw Normal View History

2024-12-31 01:34:13 +00:00
{ config, lib, pkgs, ... }:
{
2024-12-31 03:17:54 +00: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-31 03:03:29 +00: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-31 03:03:29 +00:00
efiInstallAsRemovable = true;
2024-12-31 02:04:43 +00:00
devices = [ "nodev" ];
2024-12-31 01:34:13 +00:00
};
};
2024-12-31 09:25:35 +00:00
# Music pendrive
fileSystems."/mnt/world" = {
device = "/dev/disk/by-uuid/639bae80-0f5d-481c-ae4e-d2c70f754a1c";
fsType = "ext4";
neededForBoot = false;
};
2024-12-31 03:17:54 +00:00
networking.hostName = "ioides";
2024-12-31 01:34:13 +00:00
2024-12-31 03:17:54 +00: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 05:51:54 +00:00
fonts.fontconfig.subpixel.rgba = "rgb";
2024-12-31 01:34:13 +00:00
2024-12-31 03:17:54 +00: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-31 03:17:54 +00:00
system.stateVersion = "24.11";
2024-12-31 01:34:13 +00:00
}