1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-03-13 16:03:25 +00:00
.dotfiles/nixos/hosts/ioides/configuration.nix

72 lines
1.3 KiB
Nix
Raw Normal View History

2024-12-31 01:34:13 +00:00
{ config, lib, pkgs, ... }:
{
2025-03-03 19:48:52 -05:00
imports = [
./hardware-configuration.nix
../desktop.nix
];
2024-12-31 01:34:13 +00:00
2025-03-03 19:48:52 -05:00
boot = {
binfmt.emulatedSystems = [ "aarch64-linux" ];
loader = {
efi = {
canTouchEfiVariables = false;
efiSysMountPoint = "/efi";
};
grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = true;
devices = [ "nodev" ];
};
};
};
2024-12-31 01:34:13 +00:00
2025-03-03 19:48:52 -05:00
# Music pendrive
fileSystems."/mnt/world" = {
device = "/dev/disk/by-uuid/639bae80-0f5d-481c-ae4e-d2c70f754a1c";
fsType = "ext4";
neededForBoot = false;
};
# Big fucking thing
fileSystems."/mnt/rae2" = {
device = "/dev/disk/by-uuid/fbbcc72f-34af-425c-9151-ef8919a6ae07";
fsType = "ext4";
neededForBoot = false;
};
2024-12-31 04:25:35 -05:00
2025-03-03 22:33:12 -05:00
networking = {
hostName = "ioides";
hosts = {
2025-03-08 20:29:42 -05:00
"10.0.0.2" = [ "near" "near.local" ];
2025-03-03 22:33:12 -05:00
};
};
2024-12-31 01:34:13 +00:00
2025-03-03 19:48:52 -05:00
services = {
xserver.videoDrivers = [ "nvidia" ];
};
hardware = {
graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-sdk
];
};
nvidia = {
modesetting.enable = true;
powerManagement = {
enable = false;
finegrained = false;
};
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
};
fonts.fontconfig.subpixel.rgba = "rgb";
2024-12-31 01:34:13 +00:00
2025-03-03 19:48:52 -05:00
time.timeZone = "America/New_York";
system.stateVersion = "24.11";
2024-12-31 01:34:13 +00:00
}