Some packages

This commit is contained in:
2025-09-30 20:41:19 +02:00
parent 1e3ed13ee1
commit 9d4effad5b
8 changed files with 70 additions and 34 deletions

View File

@@ -23,4 +23,3 @@ creation_rules:
- *minoxy
- *thinix
- *nixyos

View File

@@ -1,4 +1,4 @@
{ ... }:
{ pkgs, lib, ... }:
{
imports = [
@@ -10,7 +10,9 @@
./../../modules/common/sops.nix
./../../modules/services/webdav.nix
./../../modules/services/ai.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
@@ -20,11 +22,28 @@
];
networking.hostName = "minoxy";
enableCuda = true;
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";

View File

@@ -16,7 +16,7 @@
services.avahi.enable = true;
services.avahi.nssmdns4 = true;
environment = { systemPackages = with pkgs; [ git starship zoxide rsync ]; };
environment = { systemPackages = with pkgs; [ xorg.xrandr git starship zoxide rsync ]; };
nix.optimise.automatic = true;

View File

@@ -31,14 +31,14 @@ in {
};
# Apply CUDA-specific settings if enabled
# Dont do all as this has ridiculous high build times
#nixpkgs.config.cudaSupport = config.enableCuda;
hardware.enableAllFirmware = config.enableCuda;
nixpkgs.config.cudaSupport = config.enableCuda;
hardware.enableAllFirmware = true;
environment.systemPackages = (if config.enableCuda then [
environment.systemPackages = (if config.enableCuda then
[
(pkgs.blender.override { cudaSupport = true; })
(pkgs.ollama.override { acceleration = "cuda"; })
] else
]
else
[ ]);
};
}

View File

@@ -1,5 +1,10 @@
{ ... }:
{
services.ollama.enable = true;
imports = [ ../hardware/nvidia.nix ];
services.ollama = {
enable = true;
acceleration = "cuda";
};
}

View File

@@ -1,4 +1,4 @@
webdav_authstring: ENC[AES256_GCM,data:owtYoEX4uXHZFJa1TL2uxkCHatU8MiDT0a+a6NDt7+IVGwB4XsY=,iv:15Ms6v3rPujQxKs0hZULvZGX3K7TgmV1zrLLt3kQGPI=,tag:ULyWmrgoBmVLEdOc/4sMMw==,type:str]
webdav_authstring: ENC[AES256_GCM,data:/g6+3halZCCjysDnon3ArMwKXLnVwFgv1rt+PzY5658ipisBS1qifQUb,iv:DCTCmzbPOthFXC5m5MqaU+QaziYBnoaZJVF7rkyPmRw=,tag:Np9DRpwRkOdNAj6+nYNAew==,type:str]
sops:
age:
- recipient: age1a2kpues0gayampkn9pn2czhk24r0yl4jnw84qg4gh5l72dflx95qkmyqzv
@@ -37,7 +37,7 @@ sops:
dmdtblVvV1Nxc3lFUXNxMmEvK3N2OFkK7WkuSu37k7T3X/Srsx8Kbf/p1jV46h+S
IZQzpSuNP42c6c7IgczdmgB2xxKnFUnPt9MZWDgirJ1lZdCg0tfoSA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-09-02T17:49:36Z"
mac: ENC[AES256_GCM,data:wK7vtEBXE5/u+xqiiwa52ZnRouyAMG7x+T8xdoqb/NFEGIr6SPZRFxLVuKZN9iCbDyMCxb03GuKibcPbiIDkfvvKTpASP5t5F3yLwr1vS6/x6VM+rBJvppOu5s91rxGotkKjXBlnQM3pSKApLfbGEEu+jwFOA/I0UchD4VSjbq4=,iv:BskOSBnjcqp8hlGxe0RDDZipv0t9cDCLWwI/v7FiadQ=,tag:RiZ7rh45quEpTggx0mZawQ==,type:str]
lastmodified: "2025-09-27T23:09:44Z"
mac: ENC[AES256_GCM,data:O8SeDFvsV/DvpzbIpmpjZxsfMZqbQNdaZNMi4UE2T8SH2zsrTkTQ9pPc7vSctBnhDU+3I6iFzvWAXp/13LKR+Bg+93LMshxxOi4KSOmTOFSECFcP8v6bqCY1bpGr4/N/FhdgSSeNoxkd5MYlvvliBFqKsaOApV+VU74FjaBXrkA=,iv:NK2529Z91pPYZ3SD2hrm0shZk5O0csCy1MOUbnD/5RY=,tag:kgKP6Ixk3FuG8Du9C26dGA==,type:str]
unencrypted_suffix: _unencrypted
version: 3.10.2

View File

@@ -95,6 +95,18 @@
clang
clang-tools # Provides clangd
go
bitwarden-desktop
libinput
cudaPackages.cudatoolkit
ydotool
input-remapper
ausweisapp
spotify
pgadmin4
dig
lazydocker
libtool
love
lua
zig
cargo

View File

@@ -12,6 +12,7 @@
"lp"
"davfs2"
"wheel"
"ydotool"
"audio"
"networkmanager"
];