mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
Rename some stuff
This commit is contained in:
parent
5bbd203d45
commit
2026c5b6e8
11 changed files with 25 additions and 71 deletions
|
|
@ -26,8 +26,8 @@
|
|||
vault = {
|
||||
enable = lib.mkEnableOption "enable vault";
|
||||
};
|
||||
ha = {
|
||||
enable = lib.mkEnableOption "enable home assistant user";
|
||||
overseer = {
|
||||
enable = lib.mkEnableOption "enable container overseer user";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
vault = {
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
ha = {
|
||||
overseer = {
|
||||
enable = lib.mkDefault false;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
{config, ...}: {
|
||||
imports = [
|
||||
./crow
|
||||
./vault
|
||||
./ha
|
||||
./overseer
|
||||
];
|
||||
|
||||
config.home-manager = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{ lib, config, ...}: {
|
||||
config.users.users.ha = lib.mkIf config.users.ha.enable {
|
||||
config.users.users.overseer = lib.mkIf config.users.overseer.enable {
|
||||
isNormalUser = true;
|
||||
initialPassword = "changeme";
|
||||
extraGroups = [ "wheel" "libvirtd" ];
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{lib, config, ...}: {
|
||||
imports = [
|
||||
./user.nix
|
||||
];
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{ lib, config, ...}: {
|
||||
config.users.users.vault = lib.mkIf config.users.vault.enable {
|
||||
isNormalUser = true;
|
||||
initialPassword = "changeme";
|
||||
extraGroups = [];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{ inputs, pkgs, lib, config, ...}: {
|
||||
options.vault.enable = lib.mkEnableOption "enables hashicorp vault services";
|
||||
|
||||
config = {
|
||||
services.vault = lib.mkIf config.users.vault.enable {
|
||||
enable = true;
|
||||
address = "localhost:8200";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue