prepare android

This commit is contained in:
2026-01-21 09:22:22 -06:00
parent 1ada91d5ef
commit b893475db6
8 changed files with 37 additions and 49 deletions

View File

@@ -3,28 +3,6 @@ keys:
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q - &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74 - &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
creation_rules: creation_rules:
- path_regex: homebox/secrets.yaml$
key_groups:
- age:
- *homebox
- path_regex: laptop/secrets.yaml$
key_groups:
- age:
- *laptop
- path_regex: pi4/secrets.yaml$
key_groups:
- age:
- *laptop
- path_regex: live/secrets.yaml$
key_groups:
- age:
- *laptop
- path_regex: nathan/secrets.yaml$
key_groups:
- age:
- *laptop
- *homebox
- *android
- path_regex: system/secrets.yaml$ - path_regex: system/secrets.yaml$
key_groups: key_groups:
- age: - age:

View File

@@ -0,0 +1,11 @@
keys:
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
creation_rules:
- path_regex: ^secrets.yaml$
key_groups:
- age:
- *laptop
- *homebox
- *android

View File

@@ -1,11 +1,13 @@
{ config, lib, pkgs, inputs, ... }: { { config, lib, pkgs, inputs, ... }: {
imports = [ imports = let
./programs dir = builtins.readDir ./.;
./services in (builtins.map (x: ./${x}) (builtins.filter
./packages (file: (dir.${file} == "directory"))
./dotfiles (builtins.attrNames dir)
]; )) ++ [
inputs.sops.homeManagerModules.sops
];
options.homeconfig = with lib; { options.homeconfig = with lib; {

View File

@@ -22,8 +22,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
inputs.disko.packages.${pkgs.stdenv.hostPlatform.system}.disko-install
kjv kjv
openssh openssh
sops sops
@@ -77,7 +75,7 @@
(mkIf (!config.homeconfig.minimal && config.homeconfig.graphical) { (mkIf (!config.homeconfig.minimal && config.homeconfig.graphical) {
nixpkgs.config = mkIf (!config.homeconfig.minimal) { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
}; };

View File

@@ -1,18 +1,12 @@
{ config, lib, pkgs, inputs, ... }: { { config, lib, pkgs, inputs, ... }: {
imports = [ imports = let
./git dir = builtins.readDir ./.;
./nh in builtins.map (x: ./${x}) (builtins.filter
./hyprland (file: (dir.${file} == "directory"))
./hyprpanel (builtins.attrNames dir)
./terminal );
./rofi
./pywal
./hyprlock
./calcurse
./firefox
./quickshell
];
config = { config = {

View File

@@ -1,5 +1,9 @@
{ ... }: { { ... }: {
imports = [
./mpd imports = let
]; dir = builtins.readDir ./.;
in builtins.map (x: ./${x}) (builtins.filter
(file: (dir.${file} == "directory"))
(builtins.attrNames dir)
);
} }

View File

@@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, disko, ... }: {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
sops sops
disko.packages.${pkgs.stdenv.hostPlatform.system}.disko-install
]; ];
} }