Alexander Bantyev
53cc818a55
Flake lock file updates: • Updated input 'simple-osd-daemons': 'github:balsoft/simple-osd-daemons/0816020b5bcdaf73ef3d7e42def91376ceb43765' (2022-05-03) → 'github:balsoft/simple-osd-daemons/1e6a8f75b10903c484073f2de36a1954e8bdd338' (2022-05-03) |
||
---|---|---|
compat | ||
machines | ||
modules | ||
profiles | ||
roles | ||
.envrc | ||
.gitignore | ||
.projectile | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
lib.nix | ||
LICENSE | ||
overlay.nix | ||
README.md | ||
shell.nix |
balsoft’s 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
- Remove
yt-utilities
fromprofiles/desktop.nix
; - Add a config for your device to
machines
(it has to setdeviceSpecific.devInfo
, import yourhardware-configuration.nix
and one of the profiles, and contain asystem
file); sudo nixos-rebuild test --flake .