Update Kell config
This commit is contained in:
parent
801b1caf2a
commit
ad6b113e59
|
@ -8,11 +8,11 @@
|
|||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
|
||||
"path": "/nix/store/csvrf75irirx4myzbb5bf9sif67g4h9q-source/home/ags",
|
||||
"path": "/nix/store/qjak07fyqvppk5cvhsjp0a8bbf9wh6l9-source/home/ags",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "/nix/store/csvrf75irirx4myzbb5bf9sif67g4h9q-source/home/ags",
|
||||
"path": "/nix/store/qjak07fyqvppk5cvhsjp0a8bbf9wh6l9-source/home/ags",
|
||||
"type": "path"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -45,7 +45,6 @@ vim.opt.foldmethod = "expr"
|
|||
vim.opt.foldlevel = 0
|
||||
vim.opt.foldexpr = "getline(v:lnum)=~'^X-ExtEditorR'?1:0"
|
||||
vim.opt.wrap = true
|
||||
vim.opt.textwidth = 120
|
||||
|
||||
-- Vimtex
|
||||
vim.g.tex_flavor = 'latex'
|
||||
|
|
|
@ -20,6 +20,10 @@ let
|
|||
]);
|
||||
# Darwin requires a different library path prefix
|
||||
wrapPrefix = if (!pkgs.stdenv.isDarwin) then "LD_LIBRARY_PATH" else "DYLD_LIBRARY_PATH";
|
||||
# pythonOverlay = (pkgs.python312.withPackages (ps: [
|
||||
# (ps.torch.override { rocmSupport = true; })
|
||||
# ]));
|
||||
|
||||
patchedpython = (pkgs.symlinkJoin {
|
||||
name = "python";
|
||||
paths = [ pkgs.python312 ];
|
||||
|
|
|
@ -4,25 +4,38 @@ let
|
|||
in {
|
||||
imports = [
|
||||
(import ../Common/default.nix { inherit inputs pkgs; })
|
||||
(import ../Common/nvidia.nix { inherit inputs pkgs config; })
|
||||
# (import ../Common/nvidia.nix { inherit inputs pkgs config; })
|
||||
(import ../Common/desktop.nix { inherit inputs pkgs config; })
|
||||
(import ../Common/nfs.nix { inherit pkgs serverIP; })
|
||||
(import ../Common/android.nix { inherit pkgs; })
|
||||
];
|
||||
|
||||
# Kernel
|
||||
# boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# AMD CPU
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.zenpower ];
|
||||
boot.kernelModules = [ "zenpower amd_pstate=active" ];
|
||||
# boot.kernelParams = ["amd_pstate=active"];
|
||||
# boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
||||
nixpkgs.config.cudaSupport = true;
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
};
|
||||
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;
|
||||
# };
|
||||
# nixpkgs.config.cudaSupport = true;
|
||||
services.logind.extraConfig = ''HandlePowerKey=suspend'';
|
||||
|
||||
# Virtualization
|
||||
|
|
Loading…
Reference in New Issue