Compare commits
10 Commits
9ea3df5e7a
...
4ba07466f6
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ba07466f6 | |||
| 776279cd31 | |||
| cb51d5fc9a | |||
| 32eab76974 | |||
| 688bcf2ace | |||
| e81f61ba47 | |||
| 933868232c | |||
| a642257fb3 | |||
| f7f727a361 | |||
| c0f6f05619 |
28
.sops.yaml
28
.sops.yaml
@@ -1,33 +1,7 @@
|
|||||||
keys:
|
keys:
|
||||||
- &homebox age1640eg0pnmkruc89m5xguz0m8fek44fl4tzez6qwuzlz6kmapqewsp8esxd
|
|
||||||
- &laptop age1yqgyp2uxz4lzrc9f9ka0mfjl5fr6ahf8nf24nlmran2wulg6fpvq9hyp9q
|
|
||||||
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
|
- &android age12pnf36uqesjmy3e0lythfnpwam3zg5mv8m936fc4jphy4ces2fdqwn0s74
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: homebox/secrets.yaml$
|
- path_regex: ^secrets.yaml$
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- 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
|
- *android
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, inputs, ... }: {
|
{ lib, pkgs, inputs, ... } @ exputs: {
|
||||||
|
|
||||||
options.sysconfig.remoteBuildClient = with lib; mkOption {
|
options.sysconfig.remoteBuildClient = with lib; mkOption {
|
||||||
type = with types; bool;
|
type = with types; bool;
|
||||||
@@ -15,25 +15,25 @@
|
|||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
inputs.home-manager-config
|
|
||||||
];
|
|
||||||
config = { config, lib, pkgs, ... }: {
|
|
||||||
imports = [
|
|
||||||
inputs.olympus.homes.nathan
|
|
||||||
];
|
];
|
||||||
|
config = lib.mkMerge [
|
||||||
|
(inputs.olympus.homes.nathan exputs)
|
||||||
|
({ config, lib, pkgs, ... }: {
|
||||||
config = {
|
config = {
|
||||||
homeconfig = {
|
homeconfig = {
|
||||||
graphical = false;
|
graphical = false;
|
||||||
minimal = true;
|
minimal = true;
|
||||||
host = "android";
|
|
||||||
scripts.enable = false;
|
scripts.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [ nano ];
|
||||||
|
|
||||||
home.username = "nathan";
|
home.username = "nathan";
|
||||||
|
|
||||||
home.homeDirectory = "/data/data/com.termux.nix/files/home";
|
home.homeDirectory = "/data/data/com.termux.nix/files/home";
|
||||||
};
|
};
|
||||||
};
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
terminal.font = "${pkgs.fira-code}/share/fonts/truetype/FiraCode-VF.ttf";
|
terminal.font = "${pkgs.fira-code}/share/fonts/truetype/FiraCode-VF.ttf";
|
||||||
13
flake.nix
13
flake.nix
@@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-25.05";
|
url = "github:nix-community/home-manager/release-25.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -24,10 +24,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, olympus, ... } @ inputs: let
|
outputs = { self, nixpkgs, olympus, ... } @ inputs: {
|
||||||
host = "laptop";
|
|
||||||
|
|
||||||
in {
|
|
||||||
|
|
||||||
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
@@ -36,11 +33,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./.
|
||||||
];
|
];
|
||||||
|
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inputs = inputs // olympus.inputs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user