My NixOS configuration
My NixOS system+user configuration.
Powered by Nix,
Nix Flakes,
Home Manager,
and passion.
What Is | What I Use |
---|---|
Browser | Firefox |
DM | LightDM with Mini-Greeter |
Editor | Neovim |
Launcher | Rofi |
Shell | Zsh with Zgen |
Status Bar | Polybar |
Terminal | Alacritty + tmux |
WM | bspwm |
Note: the optional steps are needed to set up a custom configuration and are
highly recommended (mainly because you probably have different hardware than
mine, and you also probably want to customize the system to your own needs).
Note 2: the commands in the following steps should be considered to be run as
root (e.g. using sudo
).
/mnt
(see the
nixos-generate-config --root /mnt
/mnt/etc/nixos
nix-shell -p git nixFlakes
git clone https://github.com/BuriedInTheGround/nixos-config.git /mnt/etc/nixos
mv /etc/nixos /etc/nixos.bak
ln -s /mnt/etc/nixos /etc/nixos
hosts/
with the name you want forhosts/<your-hostname>/configuration.nix
tohosts/<your-hostname>/default.nix
.hosts/<your-hostname>/default.nix
by adding modules"simone"
) inmodules/options.nix
.
git add hosts/<your-hostname>
git add modules/options.nix
nixos-install --root /mnt --flake /mnt/etc/nixos#<your-hostname> --impure
nixos-enter
to setup some files or folders in advance.root
and user password.