Compare commits

...

3 commits

Author SHA1 Message Date
Leonardo Eugênio 99168284c6 update 2024-08-30 19:25:43 -03:00
Leonardo Eugênio 42de0ba722 monolith: switch to latest kernel 2024-08-30 19:25:36 -03:00
Leonardo Eugênio 03fd8951d8 krita: fix missing thumbnails 2024-08-30 18:29:12 -03:00
3 changed files with 16 additions and 3 deletions

View file

@ -456,11 +456,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724531977, "lastModified": 1724727824,
"narHash": "sha256-XROVLf9ti4rrNCFLr+DmXRZtPjCQTW4cYy59owTEmxk=", "narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2527da1ef492c495d5391f3bcf9c1dd9f4514e32", "rev": "36bae45077667aff5720e5b3f1a5458f51cf0776",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -36,6 +36,8 @@ in
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ]; boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ boot.kernelModules = [

View file

@ -26,6 +26,17 @@ in
blender-hip blender-hip
libreoffice libreoffice
godot_4 godot_4
(pkgs.writeTextFile {
name = "krita-thumbnails";
text = ''
[Thumbnailer Entry]
TryExec=unzip
Exec=sh -c "${pkgs.unzip}/bin/unzip -p %i preview.png > %o"
MimeType=application/x-krita;
'';
destination = "/share/thumbnailers/kra.thumbnailer";
})
]; ];
}; };
} }