Files
nixos/hosts/minoxy-workstation/configuration.nix

59 lines
1.4 KiB
Nix

{ pkgs, lib, ... }:
{
imports = [
./hardware-configuration.nix
./../../user/users.nix
./../../modules/essential.nix
./../../modules/common/sops.nix
./../../modules/graphics/workstation.nix
./../../modules/graphics/grayscale.nix
./../../modules/hardware/nvidia.nix
./../../modules/hardware/boot.nix
./../../modules/hardware/xremap.nix
];
networking.hostName = "minoxy";
virtualisation.docker.enable = true;
# Add file systems
boot.supportedFilesystems = [ "ntfs" "exfat" ];
# Hide the windows disk in the file explorer
services.udev.extraRules = ''
# Ignore internal NVMe Windows partition
SUBSYSTEM=="block", ENV{ID_FS_UUID}=="A09C8D5E9C8D2FB8", ENV{UDISKS_IGNORE}="1"
'';
# TODO: Make all your working systems go to ext4 on the full disk for ease of use and storage
virtualisation.docker.storageDriver = "btrfs";
security.sudo.extraConfig = ''
# Sudoers config goes here
'';
services = {
syncthing = {
enable = true;
user = "jonas";
dataDir = "/home/jonas/Syncthing"; # Default folder for new synced folders
configDir = "/home/jonas/.config/syncthing"; # Folder for Syncthing's settings and keys
};
};
networking.extraHosts = ''
127.0.0.1 jonas.local
'';
fonts.fontDir.enable = true;
# Never change this!
system.stateVersion = "25.05";
}