Compare commits

...

2 commits

Author SHA1 Message Date
Ingolf Wagner 0f42a99288
🎨 nix fmt
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 10m49s
2024-08-29 13:22:51 +07:00
Ingolf Wagner 32e0eacffa
🔧 update formatter.nix 2024-08-29 13:22:29 +07:00
4 changed files with 10 additions and 5 deletions

View file

@ -1,6 +1,8 @@
# components concept # components concept
- components are kinda opinionated. - components are kinda opinionated.
- should be project agnostic (e.g.: configure bugwarrior via options but leave specifics out). - should be project agnostic (e.g.: configure bugwarrior via options but leave
- `component.<toplevel>.enabled` should usually be the default for all it subcomponents (`comonent.<topleve>.<subcomponent>.enabled`). specifics out).
- `component.<toplevel>.enabled` should usually be the default for all it
subcomponents (`comonent.<topleve>.<subcomponent>.enabled`).
- But default should make sense here! - But default should make sense here!

View file

@ -7,7 +7,8 @@
- import `./remote-service.nix` in your `/etc/nixos/configuration.nix` - import `./remote-service.nix` in your `/etc/nixos/configuration.nix`
- `nixos-rebuild switch` - `nixos-rebuild switch`
- run `remote-install-get-hiddenReceiver` and enter the result in `./config.nix` as `hiddenReceiver` - run `remote-install-get-hiddenReceiver` and enter the result in `./config.nix`
as `hiddenReceiver`
- set the public key in `./config.nix` - set the public key in `./config.nix`
- run `nixos-generate -f install-iso -c ./config.nix` - run `nixos-generate -f install-iso -c ./config.nix`
- prepare the usb stick : `sudo if=<path of the iso> of=/dev/<device> bs=4096` - prepare the usb stick : `sudo if=<path of the iso> of=/dev/<device> bs=4096`

View file

@ -10,4 +10,5 @@
- edit SAM database `chntpw -i SAM` - edit SAM database `chntpw -i SAM`
- reboot - reboot
more details [here](https://opensource.com/article/18/3/how-reset-windows-password-linux). more details
[here](https://opensource.com/article/18/3/how-reset-windows-password-linux).

View file

@ -4,11 +4,12 @@
perSystem = _: { perSystem = _: {
treefmt = { treefmt = {
# https://flake.parts/options/treefmt-nix
projectRootFile = ".git/config"; projectRootFile = ".git/config";
programs.nixfmt.enable = true; programs.nixfmt.enable = true;
programs.terraform.enable = true; programs.terraform.enable = true;
programs.hclfmt.enable = true; programs.hclfmt.enable = true;
programs.jsonfmt.enable = true; programs.deno.enable = true;
programs.yamlfmt.enable = true; programs.yamlfmt.enable = true;
programs.black.enable = true; programs.black.enable = true;
}; };