mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 14:54:26 -05:00
57 lines
1.3 KiB
Nix
57 lines
1.3 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
|
|
];
|
|
|
|
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";
|
|
}
|