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

58 lines
1.3 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 09:36:24 +00:00
services = {
2025-01-06 22:28:48 +00:00
xserver.videoDrivers = [ "nvidia" ];
2024-12-31 09:36:24 +00:00
};
2024-12-31 18:43:41 +00:00
hardware = {
2025-01-01 01:27:32 +00:00
graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-sdk
];
};
2024-12-31 18:43:41 +00:00
nvidia = {
modesetting.enable = true;
powerManagement = {
enable = false;
finegrained = false;
};
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
2024-12-31 03:17:54 +00:00
};
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";
2025-01-20 04:45:00 +00:00
2024-12-31 03:17:54 +00:00
system.stateVersion = "24.11";
2024-12-31 01:34:13 +00:00
}