My personal nixos configuration, based on devos, see README-DEVOS.md.
https://cloud.tissot.de/gitea/benneti/nixos/raw/branch/screenshots/screenshot1.png https://cloud.tissot.de/gitea/benneti/nixos/raw/branch/screenshots/screenshot2.png https://cloud.tissot.de/gitea/benneti/nixos/raw/branch/screenshots/screenshot3.png https://cloud.tissot.de/gitea/benneti/nixos/raw/branch/screenshots/screenshot4.png https://cloud.tissot.de/gitea/benneti/nixos/raw/branch/screenshots/screenshot5.png
Shell | zsh |
Desktop | Gnome (pop-shell, dash-to-panel, …) |
Editor | Emacs (DOOM), neovim |
Browser | Firefox (FlyingFox, TreeStyleTabs) |
Emacs (mu4e), neomutt | |
Terminal | Alacritty |
Icons | Papirus |
GTK Theme | Dracula |
QT Platform Theme | gnome |
QT Style Override | kvantum |
Kvantum Theme | Dracula-Solid |
Setup the disks and mount them (at least boot and root are needed). Example for full disk encryption is given by the partitioning of pulse, as described in ./partitioning_pulse.org.
Now assuming the partitions are mounted like
root -> /mnt boot -> /mnt/boot home -> /mnt/home
we build and install the system
First let nixos generate a configuration
nixos-generate-config --root /mnt
then move the configuration that was generated to another location and clone this repository in its place /mnt/etc/nixos
.
Using the hardware configuration of the generated config, create a host, see pulse, the filename will be the <HOSTNAME>
,
encrypted partitioning needs manual tweaks.
nix-shell -p nixUnstable
cd /mnt/etc/nixos
git add hosts/<HOSTNAME>.nix
nix build /mnt/etc/nixos#nixosConfigurations.<HOSTNAME>.config.system.build.toplevel --experimental-features "flakes nix-command" --store "/mnt" --impure
# then install the build system...
sudo nixos-install --root /mnt --system ./result
See the appropriate steps for the user, i.e. ./users/benneti/README.org
This software is licensed under the [MIT License](COPYING).
Note: MIT license does not apply to the packages built by this configuration, merely to the files in this repository (the Nix expressions, build scripts, NixOS modules, etc.). It also might not apply to patches included here, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.