mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
Some packages
This commit is contained in:
@@ -23,4 +23,3 @@ creation_rules:
|
|||||||
- *minoxy
|
- *minoxy
|
||||||
- *thinix
|
- *thinix
|
||||||
- *nixyos
|
- *nixyos
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -10,7 +10,9 @@
|
|||||||
./../../modules/common/sops.nix
|
./../../modules/common/sops.nix
|
||||||
|
|
||||||
./../../modules/services/webdav.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
|
./../../modules/graphics/workstation.nix
|
||||||
|
|
||||||
@@ -20,11 +22,28 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "minoxy";
|
networking.hostName = "minoxy";
|
||||||
enableCuda = true;
|
enableCuda = false;
|
||||||
|
|
||||||
systemd.targets.sleep.enable = true;
|
systemd.targets.sleep.enable = true;
|
||||||
systemd.targets.suspend.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.enable = true;
|
||||||
virtualisation.docker.storageDriver = "btrfs";
|
virtualisation.docker.storageDriver = "btrfs";
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
services.avahi.enable = true;
|
services.avahi.enable = true;
|
||||||
services.avahi.nssmdns4 = 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;
|
nix.optimise.automatic = true;
|
||||||
|
|
||||||
|
|||||||
@@ -31,14 +31,14 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Apply CUDA-specific settings if enabled
|
# Apply CUDA-specific settings if enabled
|
||||||
# Dont do all as this has ridiculous high build times
|
nixpkgs.config.cudaSupport = config.enableCuda;
|
||||||
#nixpkgs.config.cudaSupport = config.enableCuda;
|
hardware.enableAllFirmware = true;
|
||||||
hardware.enableAllFirmware = config.enableCuda;
|
|
||||||
|
|
||||||
environment.systemPackages = (if config.enableCuda then [
|
environment.systemPackages = (if config.enableCuda then
|
||||||
|
[
|
||||||
(pkgs.blender.override { cudaSupport = true; })
|
(pkgs.blender.override { cudaSupport = true; })
|
||||||
(pkgs.ollama.override { acceleration = "cuda"; })
|
]
|
||||||
] else
|
else
|
||||||
[ ]);
|
[ ]);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.ollama.enable = true;
|
imports = [ ../hardware/nvidia.nix ];
|
||||||
|
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
acceleration = "cuda";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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:
|
sops:
|
||||||
age:
|
age:
|
||||||
- recipient: age1a2kpues0gayampkn9pn2czhk24r0yl4jnw84qg4gh5l72dflx95qkmyqzv
|
- recipient: age1a2kpues0gayampkn9pn2czhk24r0yl4jnw84qg4gh5l72dflx95qkmyqzv
|
||||||
@@ -37,7 +37,7 @@ sops:
|
|||||||
dmdtblVvV1Nxc3lFUXNxMmEvK3N2OFkK7WkuSu37k7T3X/Srsx8Kbf/p1jV46h+S
|
dmdtblVvV1Nxc3lFUXNxMmEvK3N2OFkK7WkuSu37k7T3X/Srsx8Kbf/p1jV46h+S
|
||||||
IZQzpSuNP42c6c7IgczdmgB2xxKnFUnPt9MZWDgirJ1lZdCg0tfoSA==
|
IZQzpSuNP42c6c7IgczdmgB2xxKnFUnPt9MZWDgirJ1lZdCg0tfoSA==
|
||||||
-----END AGE ENCRYPTED FILE-----
|
-----END AGE ENCRYPTED FILE-----
|
||||||
lastmodified: "2025-09-02T17:49:36Z"
|
lastmodified: "2025-09-27T23:09:44Z"
|
||||||
mac: ENC[AES256_GCM,data:wK7vtEBXE5/u+xqiiwa52ZnRouyAMG7x+T8xdoqb/NFEGIr6SPZRFxLVuKZN9iCbDyMCxb03GuKibcPbiIDkfvvKTpASP5t5F3yLwr1vS6/x6VM+rBJvppOu5s91rxGotkKjXBlnQM3pSKApLfbGEEu+jwFOA/I0UchD4VSjbq4=,iv:BskOSBnjcqp8hlGxe0RDDZipv0t9cDCLWwI/v7FiadQ=,tag:RiZ7rh45quEpTggx0mZawQ==,type:str]
|
mac: ENC[AES256_GCM,data:O8SeDFvsV/DvpzbIpmpjZxsfMZqbQNdaZNMi4UE2T8SH2zsrTkTQ9pPc7vSctBnhDU+3I6iFzvWAXp/13LKR+Bg+93LMshxxOi4KSOmTOFSECFcP8v6bqCY1bpGr4/N/FhdgSSeNoxkd5MYlvvliBFqKsaOApV+VU74FjaBXrkA=,iv:NK2529Z91pPYZ3SD2hrm0shZk5O0csCy1MOUbnD/5RY=,tag:kgKP6Ixk3FuG8Du9C26dGA==,type:str]
|
||||||
unencrypted_suffix: _unencrypted
|
unencrypted_suffix: _unencrypted
|
||||||
version: 3.10.2
|
version: 3.10.2
|
||||||
|
|||||||
@@ -95,6 +95,18 @@
|
|||||||
clang
|
clang
|
||||||
clang-tools # Provides clangd
|
clang-tools # Provides clangd
|
||||||
go
|
go
|
||||||
|
bitwarden-desktop
|
||||||
|
libinput
|
||||||
|
cudaPackages.cudatoolkit
|
||||||
|
ydotool
|
||||||
|
input-remapper
|
||||||
|
ausweisapp
|
||||||
|
spotify
|
||||||
|
pgadmin4
|
||||||
|
dig
|
||||||
|
lazydocker
|
||||||
|
libtool
|
||||||
|
love
|
||||||
lua
|
lua
|
||||||
zig
|
zig
|
||||||
cargo
|
cargo
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
"lp"
|
"lp"
|
||||||
"davfs2"
|
"davfs2"
|
||||||
"wheel"
|
"wheel"
|
||||||
|
"ydotool"
|
||||||
"audio"
|
"audio"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user