my hatred towards home-manager.lib.homeManagerConfiguration multiplies by the second
This commit is contained in:
parent
9989672f2f
commit
72739f110f
5 changed files with 48 additions and 18 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit 214f035438b22ce935cd5a547ed368da613bd985
|
Subproject commit 2e5b60fcc755b9556f16a5d9d8e06adde18cfacc
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
"devenv": {
|
"devenv": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "src/modules",
|
"dir": "src/modules",
|
||||||
"lastModified": 1772909021,
|
"lastModified": 1773254376,
|
||||||
"narHash": "sha256-XardsHAeueL09beWx7Z6g0Rb8GZyg5cYz4wqpOkAhcw=",
|
"narHash": "sha256-r83T23qeZej7Wvr60Od/0qHTmhQc9VzKFTAFRtOKr4k=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "devenv",
|
"repo": "devenv",
|
||||||
"rev": "ff810b7556261e3034f3a8f7006acdb7ff9b26b2",
|
"rev": "bb0de08e03d5ff271dbd8c9ecb795dc67d22ffdc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
14
flake.lock
generated
14
flake.lock
generated
|
|
@ -413,11 +413,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773179137,
|
"lastModified": 1773264496,
|
||||||
"narHash": "sha256-EdW2bwzlfme0vbMOcStnNmKlOAA05Bp6su2O8VLGT0k=",
|
"narHash": "sha256-uwFY0+UfaGEo6205ixeBjplZxHWr56UQef+MtmJ0PW0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3f98e2bbc661ec0aaf558d8a283d6955f05f1d09",
|
"rev": "32f78141a98098efed490842923b25ecb93b9b9f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -548,11 +548,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773188941,
|
"lastModified": 1773270058,
|
||||||
"narHash": "sha256-EUX7D/Kwv70TyFXHt9dM6ld/BxEXEsPiVwlFxhB+ocE=",
|
"narHash": "sha256-xDyIZu4zbhFIOHfL0nwRcW6nTDtDZ2xPy6Z/7F2OaIQ=",
|
||||||
"ref": "refs/heads/nixos-unstable",
|
"ref": "refs/heads/nixos-unstable",
|
||||||
"rev": "0ade2c3962fcb82920e2b1098c831eb29f47c56c",
|
"rev": "b05f04c584c2309eae08e6bea1f5227e2a027532",
|
||||||
"revCount": 4,
|
"revCount": 5,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.sys-con.ru/thek0tyara/nixpkgs-extension.git"
|
"url": "https://git.sys-con.ru/thek0tyara/nixpkgs-extension.git"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
39
flake.nix
39
flake.nix
|
|
@ -170,12 +170,12 @@
|
||||||
group = "wheel";
|
group = "wheel";
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
};
|
};
|
||||||
"openrouter-open.key.age" = {
|
# "openrouter-open.key.age" = {
|
||||||
file = ./secrets/openrouter-open.key.age;
|
# file = ./secrets/openrouter-open.key.age;
|
||||||
owner = "root";
|
# owner = "root";
|
||||||
group = "wheel";
|
# group = "wheel";
|
||||||
mode = "0440";
|
# mode = "0440";
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
identityPaths = [ "/root/.ssh/id_ed25519" ];
|
identityPaths = [ "/root/.ssh/id_ed25519" ];
|
||||||
};
|
};
|
||||||
|
|
@ -239,7 +239,7 @@
|
||||||
options = [ "NOPASSWD" ];
|
options = [ "NOPASSWD" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
command = "/run/current-system/sw/bin/nixos-rebuild";
|
command = "/run/current-system/sw/bin/nix-env";
|
||||||
options = [ "NOPASSWD" ];
|
options = [ "NOPASSWD" ];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
@ -345,5 +345,30 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
homeManager."thek0tyara@testenv" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
modules = [
|
||||||
|
ragenix.homeManagerModules.default
|
||||||
|
(
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
age.secrets = {
|
||||||
|
"openrouter-open.key.age" = {
|
||||||
|
file = ./secrets/openrouter-open.key.age;
|
||||||
|
# owner = "root";
|
||||||
|
# group = "wheel";
|
||||||
|
# mode = "0440";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
programs.fish = {
|
||||||
|
shellInit = ''
|
||||||
|
echo fuck
|
||||||
|
set -U OPENROUTER_API $(cat ${config.age.secrets."openrouter-open.key.age".path})
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
5
home.nix
5
home.nix
|
|
@ -95,6 +95,7 @@
|
||||||
### neural networks
|
### neural networks
|
||||||
dsearch
|
dsearch
|
||||||
lmstudio
|
lmstudio
|
||||||
|
vllm
|
||||||
|
|
||||||
# kdePackages.kdenlive
|
# kdePackages.kdenlive
|
||||||
(python313.withPackages (
|
(python313.withPackages (
|
||||||
|
|
@ -523,6 +524,10 @@
|
||||||
echo \'=== /sys/module (loaded module names) ===\'; ls /sys/module | sort
|
echo \'=== /sys/module (loaded module names) ===\'; ls /sys/module | sort
|
||||||
} > "$outfile"; echo "$outfile"'
|
} > "$outfile"; echo "$outfile"'
|
||||||
'';
|
'';
|
||||||
|
# openrouter-env = '' # later
|
||||||
|
# set -g OPENROUTER_API="$(cat ${config.age.secrets."openrouter-open".path})"
|
||||||
|
# exec "$@"
|
||||||
|
# '';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lutris = {
|
lutris = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue