stuff
This commit is contained in:
parent
0e5f0bd3a8
commit
bf1595d374
3 changed files with 32 additions and 17 deletions
20
README.md
20
README.md
|
@ -4,19 +4,19 @@ This is my cobbled together NixOS configuration. There are many like it, but thi
|
|||
|
||||
## Structure
|
||||
|
||||
* common: Sane defaults that make sense to use for every host.
|
||||
* modules: Regular NixOS modules.
|
||||
* profiles: Higher-level NixOS modules that conform to different roles that a host may have.
|
||||
* packages: Packages that I couldn't fit anywhere else.
|
||||
* secrets: Agenix secrets.
|
||||
* hosts: Hosts exposed in `nixosConfigurations`.
|
||||
* pubkeys.nix: Nix expression with all my SSH public keys, used for OpenSSH, Agenix and Restic.
|
||||
* lib.nix: Nixpkgs' lib with some extra functionality.
|
||||
- common: Sane defaults that make sense to use for every host.
|
||||
- modules: Regular NixOS modules.
|
||||
- profiles: Higher-level NixOS modules that conform to different roles that a host may have.
|
||||
- packages: Packages that I couldn't fit anywhere else.
|
||||
- secrets: Agenix secrets.
|
||||
- hosts: Hosts exposed in `nixosConfigurations`.
|
||||
- pubkeys.nix: Nix expression with all my SSH public keys, used for OpenSSH, Agenix and Restic.
|
||||
- lib.nix: Nixpkgs' lib with some extra functionality.
|
||||
|
||||
## Ports
|
||||
|
||||
* 80X0: Public HTTP services that are proxied through nginx
|
||||
* 40X0: Syncthing instances (4000 being the system instance, subsequent ones are for individual users)
|
||||
- 80X0: Public HTTP services that are proxied through nginx
|
||||
- 40X0: Syncthing instances (4000 being the system instance, subsequent ones are for individual users)
|
||||
|
||||
## Installation
|
||||
|
||||
|
|
21
flake.nix
21
flake.nix
|
@ -60,9 +60,24 @@
|
|||
treefmt = {
|
||||
projectRootFile = "flake.nix";
|
||||
|
||||
programs.nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
settings.global.excludes = [
|
||||
"LICENSE"
|
||||
"*.age"
|
||||
".envrc"
|
||||
];
|
||||
|
||||
programs = {
|
||||
nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
};
|
||||
|
||||
shfmt = {
|
||||
enable = true;
|
||||
indent_size = 2;
|
||||
};
|
||||
|
||||
mdformat.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## File systems
|
||||
|
||||
* Main: White, 1TB, for the system and home directories
|
||||
* Vault: Black, 2TB, primary for all data
|
||||
* Void: Green, 1TB, for throwaway data
|
||||
* Sync: Red, 2TB, synced from the vault
|
||||
- Main: White, 1TB, for the system and home directories
|
||||
- Vault: Black, 2TB, primary for all data
|
||||
- Void: Green, 1TB, for throwaway data
|
||||
- Sync: Red, 2TB, synced from the vault
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue