Compare commits
2 Commits
a642257fb3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| e81f61ba47 | |||
| 933868232c |
28
.sops.yaml
28
.sops.yaml
@@ -1,33 +1,7 @@
|
||||
keys:
|
||||
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
|
||||
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
|
||||
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
|
||||
creation_rules:
|
||||
- path_regex: homebox/secrets.yaml$
|
||||
- path_regex: ^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-config/secrets.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *laptop
|
||||
- *homebox
|
||||
- *android
|
||||
|
||||
20
default.nix
20
default.nix
@@ -28,6 +28,26 @@
|
||||
scripts.enable = false;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ nano ];
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
Host esotericbytes.com
|
||||
HostName esotericbytes.com
|
||||
Port 2222
|
||||
|
||||
Host builder
|
||||
HostName esotericbytes.com
|
||||
Port 2222
|
||||
User remote-builder
|
||||
IdentityFile /home/nathan/.ssh/id_ed25519
|
||||
|
||||
Host remote
|
||||
HostName esotericbytes.com
|
||||
Port 2222
|
||||
User nathan
|
||||
IdentityFile /home/nathan/.ssh/id_ed25519
|
||||
'';
|
||||
|
||||
home.username = "nathan";
|
||||
|
||||
home.homeDirectory = "/data/data/com.termux.nix/files/home";
|
||||
|
||||
11
flake.nix
11
flake.nix
@@ -4,15 +4,15 @@
|
||||
|
||||
inputs = {
|
||||
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.05";
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nix-on-droid = {
|
||||
url = "github:nix-community/nix-on-droid";
|
||||
url = "github:nix-community/nix-on-droid/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
@@ -24,10 +24,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, olympus, ... } @ inputs: let
|
||||
host = "laptop";
|
||||
|
||||
in {
|
||||
outputs = { self, nixpkgs, olympus, ... } @ inputs: {
|
||||
|
||||
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
pkgs = import nixpkgs {
|
||||
|
||||
Reference in New Issue
Block a user