This commit is contained in:
Thomas Avé 2025-03-07 13:38:52 +01:00
parent 23041b3194
commit eb717455f6
3 changed files with 31 additions and 30 deletions

View File

@ -129,11 +129,11 @@
]
},
"locked": {
"lastModified": 1740234812,
"narHash": "sha256-TMPM8TBbS0d4e5+3TofgoF+pwbXwMfKzWxwksoIEX1E=",
"lastModified": 1741217763,
"narHash": "sha256-g/TrltIjFHIjtzKY5CJpoPANfHQWDD43G5U1a/v5oVg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "34d524f3edcf3a04c00ad2c09c24ec9d35d937f9",
"rev": "486b066025dccd8af7fbe5dd2cc79e46b88c80da",
"type": "github"
},
"original": {
@ -197,11 +197,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1739866667,
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
"lastModified": 1741173522,
"narHash": "sha256-k7VSqvv0r1r53nUI/IfPHCppkUAddeXn843YlAC5DR0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
"rev": "d69ab0d71b22fa1ce3dbeff666e6deb4917db049",
"type": "github"
},
"original": {
@ -213,11 +213,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1739866667,
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
"lastModified": 1741173522,
"narHash": "sha256-k7VSqvv0r1r53nUI/IfPHCppkUAddeXn843YlAC5DR0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
"rev": "d69ab0d71b22fa1ce3dbeff666e6deb4917db049",
"type": "github"
},
"original": {
@ -250,11 +250,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1740236354,
"narHash": "sha256-pv3uSCYnH1hQooO3ZlgFsNfpQjZljQPirURXVA1Njm4=",
"lastModified": 1741275349,
"narHash": "sha256-gl7nAFoYy8zyXj7WWhAaEz6rEVRSUTxDUW+eertS2Rk=",
"owner": "nix-community",
"repo": "NUR",
"rev": "788e0c8a12d07651b27cfaa5079b97e77331ab57",
"rev": "921d1bc531323662211bc7a1728dee3c04473a61",
"type": "github"
},
"original": {

View File

@ -23,7 +23,7 @@ return {
picker = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
image = { enabled = true },
-- image = { enabled = true },
scope = {
enabled = true,
keys = {

View File

@ -19,23 +19,24 @@ in {
boot.kernelParams = ["amd_pstate=active"];
boot.initrd.kernelModules = [ "amdgpu" ];
# hardware.graphics.extraPackages = with pkgs; [
# rocmPackages.clr.icd
# ];
# systemd.tmpfiles.rules = [
# "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
# ];
# environment.systemPackages = with pkgs; [
# clinfo
# rocmPackages.rpp
# rocmPackages.clr
# rocmPackages.hipcc
# rocmPackages.rocm-smi
# ];
# nixpkgs.config.rocmSupport = true;
# services.ollama = {
# enable = true;
# };
hardware.graphics.extraPackages = with pkgs; [
rocmPackages.clr.icd
];
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
environment.systemPackages = with pkgs; [
clinfo
rocmPackages.rpp
rocmPackages.clr
rocmPackages.hipcc
rocmPackages.rocm-smi
];
nixpkgs.config.rocmSupport = true;
services.ollama = {
enable = true;
acceleration = "rocm";
};
# nixpkgs.config.cudaSupport = true;
services.logind.extraConfig = ''HandlePowerKey=suspend'';