My NixOS/home-manager configuration files. NixOS: https://nixos.org; Home-manager: https://github.com/rycee/home-manager.
Go to file
2023-07-21 00:10:46 +04:00
.vscode Add vscode tasks 2022-05-30 15:25:46 +04:00
compat Use overlaid pkgs on old nix 2021-06-03 22:38:06 +03:00
machines Fixes to plasma5, gnss-share 2023-02-24 14:33:13 +04:00
modules Fixes to plasma5, gnss-share 2023-02-24 14:33:13 +04:00
profiles remove unused binding 2023-07-20 17:08:31 +00:00
roles Fix audiotube 2023-02-22 00:34:25 +04: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 update 2023-07-17 15:35:27 +04:00
flake.nix update 2023-07-11 13:15:11 +04:00
lib.nix Add dim colours to qmltermwidget 2023-02-18 22:57:44 +04:00
LICENSE Update passwords 2020-02-17 16:00:59 +03:00
overlay.nix Update 2023-06-28 08:56:05 +04:00
README.md Update README to reflect recent changes 2022-06-27 12:36:24 +04: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).

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. 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);
  2. sudo nixos-rebuild test --flake .