chore: rename sops
This commit is contained in:
@@ -30,5 +30,9 @@ in
|
|||||||
opencode = enabled;
|
opencode = enabled;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security = {
|
||||||
|
sops = enabled;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ in
|
|||||||
ssh-agent = enabled;
|
ssh-agent = enabled;
|
||||||
fusuma = enabled;
|
fusuma = enabled;
|
||||||
swww = enabled;
|
swww = enabled;
|
||||||
|
};
|
||||||
|
|
||||||
|
security = {
|
||||||
sops = enabled;
|
sops = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,9 @@ in
|
|||||||
fusuma = enabled;
|
fusuma = enabled;
|
||||||
swww = enabled;
|
swww = enabled;
|
||||||
poweralertd = enabled;
|
poweralertd = enabled;
|
||||||
|
};
|
||||||
|
|
||||||
|
security = {
|
||||||
sops = enabled;
|
sops = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ in
|
|||||||
ssh-agent = enabled;
|
ssh-agent = enabled;
|
||||||
fusuma = enabled;
|
fusuma = enabled;
|
||||||
swww = enabled;
|
swww = enabled;
|
||||||
|
};
|
||||||
|
|
||||||
|
security = {
|
||||||
sops = enabled;
|
sops = enabled;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ pkgs, lib, config, namespace, ... }:
|
{ pkgs
|
||||||
|
, lib
|
||||||
|
, config
|
||||||
|
, namespace
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
cfg = config.${namespace}.programs.terminal.git;
|
cfg = config.${namespace}.programs.terminal.git;
|
||||||
@@ -82,10 +87,7 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [ gh ];
|
||||||
gh
|
|
||||||
pre-commit
|
|
||||||
];
|
|
||||||
|
|
||||||
# Copy Configuration
|
# Copy Configuration
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
|
|||||||
@@ -1,9 +1,8 @@
|
|||||||
{
|
{ pkgs
|
||||||
pkgs,
|
, lib
|
||||||
lib,
|
, config
|
||||||
config,
|
, namespace
|
||||||
namespace,
|
, ...
|
||||||
...
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
@@ -149,7 +148,6 @@ in
|
|||||||
luaformatter
|
luaformatter
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
sqlfluff
|
|
||||||
stylua
|
stylua
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
|
|||||||
@@ -9,10 +9,10 @@ let
|
|||||||
inherit (lib.${namespace}) mkOpt;
|
inherit (lib.${namespace}) mkOpt;
|
||||||
getFile = lib.snowfall.fs.get-file;
|
getFile = lib.snowfall.fs.get-file;
|
||||||
|
|
||||||
cfg = config.${namespace}.services.sops;
|
cfg = config.${namespace}.security.sops;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.${namespace}.services.sops = with types; {
|
options.${namespace}.security.sops = with types; {
|
||||||
enable = mkEnableOption "Enable sops";
|
enable = mkEnableOption "Enable sops";
|
||||||
defaultSopsFile = mkOpt str "secrets/common/evanreichard.yaml" "Default sops file.";
|
defaultSopsFile = mkOpt str "secrets/common/evanreichard.yaml" "Default sops file.";
|
||||||
sshKeyPaths = mkOpt (listOf path) [ ] "Additional SSH key paths to use.";
|
sshKeyPaths = mkOpt (listOf path) [ ] "Additional SSH key paths to use.";
|
||||||
@@ -1,7 +1,3 @@
|
|||||||
{ lib, namespace, ... }:
|
|
||||||
let
|
|
||||||
inherit (lib.${namespace}) enabled;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
system.stateVersion = 6;
|
system.stateVersion = 6;
|
||||||
nix.enable = false;
|
nix.enable = false;
|
||||||
@@ -12,9 +8,5 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
usingDeterminate = true;
|
usingDeterminate = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
security = {
|
|
||||||
sops = enabled;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user