mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
53 lines
1.4 KiB
Nix
53 lines
1.4 KiB
Nix
{ pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
./../../user/users.nix
|
|
|
|
./../../modules/essential.nix
|
|
./../../modules/common/sops.nix
|
|
|
|
./../../modules/services/webdav.nix
|
|
# Not working right now due to nvidia problems
|
|
# It worked fine on another machine thats why I am wondering
|
|
#./../../modules/services/ai.nix
|
|
|
|
./../../modules/graphics/workstation.nix
|
|
|
|
./../../modules/hardware/nvidia.nix
|
|
./../../modules/hardware/boot.nix
|
|
./../../modules/hardware/xremap.nix
|
|
];
|
|
|
|
networking.hostName = "minoxy";
|
|
enableCuda = false;
|
|
|
|
systemd.targets.sleep.enable = true;
|
|
systemd.targets.suspend.enable = true;
|
|
|
|
programs.ydotool.enable = true;
|
|
services.input-remapper.enable = true;
|
|
|
|
fileSystems."/shared" = {
|
|
device = "/dev/disk/by-uuid/8CEA-13E3"; # use lsblk -f
|
|
fsType = "exfat";
|
|
options = [ "defaults" "uid=1000" "gid=100" "umask=000" ];
|
|
};
|
|
|
|
|
|
# Testing
|
|
#environment.etc."mnt/jousb".source = "/mnt/jousb"; # ensures directory exists
|
|
#services.udev.extraRules = ''
|
|
# ACTION=="add", SUBSYSTEM=="block", ENV{ID_FS_LABEL}=="JOUSB", RUN+="${pkgs.mount}/bin/mount /dev/disk/by-label/JOUSB /mnt/jousb"
|
|
# ACTION=="remove", SUBSYSTEM=="block", ENV{ID_FS_LABEL}=="JOUSB", RUN+="${pkgs.umount}/bin/umount /mnt/jousb"
|
|
#'';
|
|
|
|
virtualisation.docker.enable = true;
|
|
virtualisation.docker.storageDriver = "btrfs";
|
|
|
|
# Never change this!
|
|
system.stateVersion = "25.05";
|
|
}
|