Compare commits

..

3 commits

Author SHA1 Message Date
GaspardCulis
ebab7db78a fix(Zephyrus): Allowed cuda related unfree pkgs 2024-10-25 09:44:56 +02:00
GaspardCulis
255cd05f93 fix(flake): Manually edit lock file to fix hy3 build issue 2024-10-25 09:13:17 +02:00
GaspardCulis
491ad6f329 feat(Zephyrus): Enable ollama service 2024-10-25 08:56:51 +02:00
3 changed files with 20 additions and 12 deletions

View file

@ -128,11 +128,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729712798, "lastModified": 1729281548,
"narHash": "sha256-a+Aakkb+amHw4biOZ0iMo8xYl37uUL48YEXIC5PYJ/8=", "narHash": "sha256-MuojlSnwAJAwfhgmW8ZtZrwm2Sko4fqubCvReqbUzYw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "09a776702b004fdf9c41a024e1299d575ee18a7d", "rev": "a6a3179ddf396dfc28a078e2f169354d0c137125",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -205,11 +205,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1729716953, "lastModified": 1729459288,
"narHash": "sha256-FbRKGRRd0amsk/WS/UV9ukJ8jT1dZ2pJBISxkX+uq6A=", "narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a4353cc43d1b4dd6bdeacea90eb92a8b7b78a9d7", "rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -223,11 +223,11 @@
"hyprland": "hyprland" "hyprland": "hyprland"
}, },
"locked": { "locked": {
"lastModified": 1729590988, "lastModified": 1729122023,
"narHash": "sha256-K/XcQJQ25SlG7My1EvF5JOEZduhHmGvbkSDATfdNwUw=", "narHash": "sha256-OJNfAveVogmpSIJ7V3eCSWVGvmWOVQfMQTfOpK163HQ=",
"owner": "outfoxxed", "owner": "outfoxxed",
"repo": "hy3", "repo": "hy3",
"rev": "f919ed22ae177e4e5c81d3e14a52f0c32da4a899", "rev": "29293bf7d509cd18e25a59e15841538fcdef580a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -470,11 +470,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1729665710, "lastModified": 1729256560,
"narHash": "sha256-AlcmCXJZPIlO5dmFzV3V2XF6x/OpNWUV8Y/FMPGd8Z4=", "narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2768c7d042a37de65bb1b5b3268fc987e534c49d", "rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -22,6 +22,10 @@
services.blueman.enable = true; services.blueman.enable = true;
services.udisks2.enable = true; services.udisks2.enable = true;
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
services.ollama = {
enable = true;
acceleration = "cuda";
};
# Programs # Programs
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [

View file

@ -55,6 +55,10 @@
builtins.elem (lib.getName pkg) [ builtins.elem (lib.getName pkg) [
"nvidia-x11" "nvidia-x11"
"nvidia-settings" "nvidia-settings"
"cuda_cudart"
"libcublas"
"cuda_cccl"
"cuda_nvcc"
]; ];
hardware.graphics = { hardware.graphics = {