move profiles to use haumea
This commit is contained in:
parent
4cec867a78
commit
716e9e7ac2
91 changed files with 30 additions and 53 deletions
|
@ -10,18 +10,18 @@ creation_rules:
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
- path_regex: secrets/global
|
- path_regex: profiles/secrets/global
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
- *nixdesk
|
- *nixdesk
|
||||||
- *hopper
|
- *hopper
|
||||||
- path_regex: secrets/nixdesk
|
- path_regex: profiles/secrets/nixdesk
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
- *nixdesk
|
- *nixdesk
|
||||||
- path_regex: secrets/hopper
|
- path_regex: profiles/secrets/hopper
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *xun
|
- *xun
|
||||||
|
|
|
@ -77,12 +77,10 @@ in {
|
||||||
imports = lib.flatten [
|
imports = lib.flatten [
|
||||||
./nixdesk
|
./nixdesk
|
||||||
|
|
||||||
(rootPaths [
|
|
||||||
"secrets"
|
|
||||||
"secrets/nixdesk"
|
|
||||||
])
|
|
||||||
|
|
||||||
(with profiles; [
|
(with profiles; [
|
||||||
|
secrets.default
|
||||||
|
secrets.nixdesk.default
|
||||||
|
|
||||||
core.default
|
core.default
|
||||||
core.tools
|
core.tools
|
||||||
core.compat
|
core.compat
|
||||||
|
@ -103,7 +101,7 @@ in {
|
||||||
network.tailscale
|
network.tailscale
|
||||||
network.goldberg
|
network.goldberg
|
||||||
|
|
||||||
desktop.default
|
desktop.ly
|
||||||
desktop.awesome
|
desktop.awesome
|
||||||
desktop.sway
|
desktop.sway
|
||||||
#..desktop.hyprland
|
#..desktop.hyprland
|
||||||
|
@ -144,43 +142,19 @@ in {
|
||||||
imports = lib.flatten [
|
imports = lib.flatten [
|
||||||
./hopper
|
./hopper
|
||||||
|
|
||||||
(rootPaths [
|
(with profiles; [
|
||||||
"secrets"
|
secrets.default
|
||||||
"secrets/hopper"
|
secrets.hopper.default
|
||||||
|
|
||||||
|
core.default
|
||||||
|
core.tools
|
||||||
|
|
||||||
|
network.avahi
|
||||||
|
network.networkd
|
||||||
|
network.tailscale
|
||||||
|
|
||||||
|
services.syncthing
|
||||||
])
|
])
|
||||||
|
|
||||||
(modulePaths [
|
|
||||||
"core"
|
|
||||||
"core/tools.nix"
|
|
||||||
|
|
||||||
#"programs"
|
|
||||||
#"programs/steam.nix"
|
|
||||||
|
|
||||||
#"desktop"
|
|
||||||
#"desktop/awesome.nix"
|
|
||||||
|
|
||||||
#"hardware/graphics.nix"
|
|
||||||
#"hardware/steam-hardware.nix"
|
|
||||||
#"hardware/bluetooth.nix"
|
|
||||||
#"hardware/qmk.nix"
|
|
||||||
|
|
||||||
"network/avahi.nix"
|
|
||||||
"network/networkd.nix"
|
|
||||||
"network/tailscale.nix"
|
|
||||||
|
|
||||||
#"services"
|
|
||||||
#"services/pipewire.nix"
|
|
||||||
"services/syncthing.nix"
|
|
||||||
#"services/containers/server"
|
|
||||||
# "services/containers/experimental" # TODO maybe reenable this?? or just abandon it and move fully to systemd network namespace
|
|
||||||
])
|
|
||||||
|
|
||||||
#{
|
|
||||||
# home-manager = {
|
|
||||||
# users.xun.imports = homeImports."xun@hopper";
|
|
||||||
# extraSpecialArgs = specialArgs;
|
|
||||||
# };
|
|
||||||
#}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
liveiso = {
|
liveiso = {
|
||||||
|
@ -188,11 +162,10 @@ in {
|
||||||
imports = lib.flatten [
|
imports = lib.flatten [
|
||||||
./liveiso
|
./liveiso
|
||||||
|
|
||||||
(modulePaths [
|
(with profiles; [
|
||||||
"/nix"
|
nix.default
|
||||||
"/core/security.nix"
|
core.security
|
||||||
"/services"
|
services.default
|
||||||
"/desktop"
|
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{config, ...}: {
|
{
|
||||||
|
self,
|
||||||
|
super,
|
||||||
|
root,
|
||||||
|
}: {config, ...}: {
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
|
@ -1,4 +1,4 @@
|
||||||
{inputs, ...}: {
|
_: {inputs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
./global
|
./global
|
|
@ -1,5 +1,5 @@
|
||||||
## TODO use defaultSopsFile mayb
|
## TODO use defaultSopsFile mayb
|
||||||
{config, ...}: let
|
_: {config, ...}: let
|
||||||
autheliaUser = config.services.authelia.instances.main.user;
|
autheliaUser = config.services.authelia.instances.main.user;
|
||||||
in {
|
in {
|
||||||
sops.secrets = {
|
sops.secrets = {
|
Loading…
Add table
Add a link
Reference in a new issue