My NixOS/home-manager configuration files. NixOS: https://nixos.org; Home-manager: https://github.com/rycee/home-manager.
Go to file
2022-04-15 18:31:17 +03:00
compat Use overlaid pkgs on old nix 2021-06-03 22:38:06 +03:00
machines Add IRC server 2022-02-22 00:14:59 +03:00
modules Fix secrets-envsubst 2022-02-26 17:21:53 +03:00
profiles Global undo mode 2022-04-15 18:31:17 +03:00
roles Add clipman 2022-02-16 13:37:45 +03:00
.envrc Add shell.nix and direnv 2021-03-10 18:53:44 +03:00
.gitignore Add shell.nix and direnv 2021-03-10 18:53:44 +03:00
.projectile Update passwords 2020-02-17 16:00:59 +03:00
default.nix Use overlaid pkgs on old nix 2021-06-03 22:38:06 +03:00
flake.lock Roll back ff 2022-04-13 11:38:30 +03:00
flake.nix Roll back ff 2022-04-13 11:38:30 +03:00
lib.nix Refactor: move out the overlay and lib 2021-12-23 21:23:03 +03:00
LICENSE Update passwords 2020-02-17 16:00:59 +03:00
overlay.nix Roll back ff 2022-04-13 11:38:30 +03:00
README.md Update documentation 2021-06-12 01:21:24 +03:00
shell.nix Add shell.nix and direnv 2021-03-10 18:53:44 +03:00

balsofts nixos configuration

License

Most of this config is in public domain (see LICENSE), with the exception of a Brother printer ppd file which is licensed under GPLv2 and an sqlite database of programs in nixpkgs. I believe I am entitled to distribute both with this config, if this is not true, please contact me.

Stuff that may be useful

Secrets

Secrets are kept in a separate (private) git repository, encrypted with gpg and decrypted at runtime using secrets.nix and secrets-envsubst.nix. The repo is pass(1)-compatible, so passwords are also stored there.

pls no pwn

Themes

Themes for everything are generated from a custom base16 theme. The theme is defined in themes.nix, and the generation is spread all around modules.

Tmpfs root

To prevent extraneous state from clinging on the drive, I am using tmpfs root on my two main devices. It is implemented in persist.nix.

Easy Wireguard setup module

Copied from notgne2 with permission to redistribute as public domain software. Can be found in ezwg.nix

Installing it on your machine

  1. Remove yt-utilities from profiles/desktop.nix;
  2. Add a config for your device to machines (it has to set deviceSpecific.devInfo, import your hardware-configuration.nix and one of the profiles, and contain a system file);
  3. sudo nixos-rebuild test --flake .