prepare android
This commit is contained in:
22
.sops.yaml
22
.sops.yaml
@@ -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:
|
||||||
|
|||||||
11
homes/nathan/home-manager/.sops.yaml
Normal file
11
homes/nathan/home-manager/.sops.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
keys:
|
||||||
|
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
|
||||||
|
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
|
||||||
|
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
|
||||||
|
creation_rules:
|
||||||
|
- path_regex: ^secrets.yaml$
|
||||||
|
key_groups:
|
||||||
|
- age:
|
||||||
|
- *laptop
|
||||||
|
- *homebox
|
||||||
|
- *android
|
||||||
@@ -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; {
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|
||||||
|
|||||||
@@ -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)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule machines/android updated: a642257fb3...933868232c
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user