mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
auto up 01:08:17 up 6:30, 2 users, load average: 0.62, 0.57, 0.51 auto up 01:59:20 up 7:21, 2 users, load average: 0.17, 0.29, 0.37 auto up 02:38:43 up 0:05, 3 users, load average: 0.52, 0.53, 0.25 auto up 10:53:19 up 0:00, 2 users, load average: 1.01, 0.25, 0.08 auto up 11:12:59 up 0:20, 2 users, load average: 0.61, 0.62, 0.36 auto up 16:24:24 up 1:02, 2 users, load average: 0.54, 0.27, 0.10 auto up 23:01:45 up 8:51, 2 users, load average: 0.57, 0.67, 0.74 auto up 15:03:56 up 0:02, 2 users, load average: 0.32, 0.20, 0.09 auto up 11:49:23 up 0:19, 2 users, load average: 0.09, 0.27, 0.37
59 lines
1.4 KiB
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";
|
|
}
|