Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
+

+

+

+

+


Former-commit-id: 9bfbbb3d7413da4159c55075010a56f5adf71112 [formerly e60a05d]
Former-commit-id: 2baac3c8ed8e9ff766e825813f71fc739298b0fe
  • Loading branch information
oluceps committed Apr 26, 2024
1 parent dd06269 commit ee50628
Showing 1 changed file with 44 additions and 10 deletions.
54 changes: 44 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,61 @@ nix.settings = {

```
.
├── age.nix
├── ci.nix
├── default.nix
├── age.nix # agenix rekey config
├── ci.nix # both for \n
├── default.nix # compatible with nur repo check
├── flake.lock
├── flake.nix
├── fn
├── home
│ ├── alert.ts # prometheus alert bridge for ntfy
│ └── f # nushell module with some functions
├── home
│ ├── default.nix # home-manager nixos module toplevel
│ ├── graphBase.nix # graphic settings
│ ├── home.nix # general settings, optionally loads programs and graph config
│ └── programs (dir)
├── hosts
│ ├── default.nix # colmena settings
│ ├── hastur (dir) # machine, to run heavy task
│ ├── bootstrap (dir) # minimal config for bootstraping, no colmena
│ ├── resq (dir) # minimal config for remote resuce, no colmena, with wireguard
│ ├── livecd (dir) # livecd
│ ├── graphBase.nix # general settings
│ ├── lib.nix # common lib
│ ├── nodens (dir) # server
│ ├── persist.nix # impermanence settings, optional loaded by hosts
│ ├── secureboot.nix # lanzaboote secureboot settings
│ ├── sysctl.nix # sysctl
│ ├── sysvars.nix
│ └── ...... # other server config similar to nodens
├── justfile
├── LICENSE
├── misc.nix
├── modules
├── modules (dir) # nixosModules, autoload by flake, appended to nixosConfig defaultly
├── overlays.nix
├── packages.nix
├── pkgs
├── README.md
├── sec
├── srv
├── packages.nix # nixosConfig syswide global packages
├── pkgs (dir) # packages, autoload by flake, append to overlay
├── sec (dir) # agenix-rekey pubkeys, rekeyed secrets
├── srv (dir) # wrapper beyound nixosModule `services.`, predefined service option for reuse
└── users.nix
```

#### srv

This is designed for easy play with more services and better reuse service config.

```
nixosModule option predefined & repack srv option
services.${} => srv.${}
srv.foo = {
enable = true;
override = {
oldOption = "new"; # override option predefined in /srv/foo.nix
};
}
```


## References

Expand Down

0 comments on commit ee50628

Please sign in to comment.