mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
Add agenix alias
This commit is contained in:
parent
b42ab9860c
commit
cdc8875e3b
3 changed files with 13 additions and 7 deletions
|
@ -153,10 +153,6 @@
|
|||
home-manager.sharedModules = [ ghosttyModule.homeModules.default ];
|
||||
};
|
||||
|
||||
ageNixModule = {
|
||||
age.identityPaths = [ "/root/.ssh/id" ];
|
||||
};
|
||||
|
||||
optionModules = [
|
||||
homeManager.nixosModules.default
|
||||
ageNix.nixosModules.default
|
||||
|
@ -168,7 +164,6 @@
|
|||
optionUsageModules = [
|
||||
nixpkgsOverlayModule
|
||||
homeManagerModule
|
||||
ageNixModule
|
||||
] ++ collectNixFiles ./modules;
|
||||
|
||||
specialArgs = { inherit self inputs keys; };
|
||||
|
|
13
modules/agenix.nix
Normal file
13
modules/agenix.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ lib, pkgs, ... }: with lib; merge
|
||||
|
||||
(systemConfiguration {
|
||||
age.identityPaths = [ "/root/.ssh/id" ];
|
||||
})
|
||||
|
||||
(desktopSystemConfiguration {
|
||||
environment.shellAliases.agenix = "agenix --identity ~/.ssh/id";
|
||||
})
|
||||
|
||||
(desktopSystemPackages (with pkgs; [
|
||||
agenix
|
||||
]))
|
|
@ -24,8 +24,6 @@
|
|||
]))
|
||||
|
||||
(desktopSystemPackages (with pkgs; [
|
||||
agenix
|
||||
|
||||
clang_16
|
||||
clang-tools_16
|
||||
deno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue