my dotfiles
Find a file
2024-11-29 04:51:16 +07:00
home TODO squash steam-unwrapped 2024-11-28 13:29:11 +07:00
pkgs update schlock 2024-11-29 04:51:16 +07:00
system bump nix version 2024-11-28 01:55:47 +07:00
.gitignore
COPYING
default.nix
extra-builtins.nix
flake.lock TODO amend update inputs 2024-11-28 01:55:53 +07:00
flake.nix update inputs 2024-11-19 10:38:18 +07:00
lib.nix
nixos-rebuild.py misc fixes 2024-11-01 01:26:11 +07:00
overlays.nix
private.nix.sample
push.sh
README.md
update.sh change update script for ci branch 2024-11-18 22:23:39 +07:00

My Nix config

Home-manager config and modules are in ./home, NixOS config and modules are in ./system.

Secrets are fetched using a nix plugin at evaluation time to avoid using --impure. I plan to implement a more robust secrets system later though.

To install, simply run nixos-rebuild switch --flake . --option extra-builtins-file $(pwd)/extra-builtins.nix and home-manager switch --flake . --option extra-builtins-file $(pwd)/extra-builtins.nix, since this repo relies on build-time decryption of secrets using a Nix plugin (to be fair you won't be able to use it since you don't have the secrets, such as initial root password). If you don't have nix-plugins though, you can put the secrets in plaintext to /etc/nixos/private and add --impure flag to bootstrap the config.