No description
Find a file
2026-07-28 00:48:30 +02:00
hosts test 2026-07-28 00:31:12 +02:00
modules ssh test4 2026-07-28 00:48:30 +02:00
users fix user metapackage 2026-07-23 19:00:59 +02:00
.gitignore add gitignore 2026-07-22 12:34:30 +02:00
common.nix add config.systems 2026-07-22 23:13:39 +02:00
flake.lock update flake.lock 2026-07-22 23:43:20 +02:00
flake.nix add comments and follows to inputs 2026-07-22 23:34:48 +02:00
README.md add package structure (#10) 2026-07-26 22:04:57 +02:00

NIXOS Dotfiles

Usage

Nixos Configurations

Due to the host module referencing /etc/nixos/hardware-configuration.nix, so that it is seperated from the repo, all rebuild commands will need --impure, unless you copy your configuration into the repo.

First install - On installed OS

change "<HOSTNAME>" in the rebuild command to the name of the host you are installing

nix-shell -p git --run "sudo git clone https://git.awdawd.eu/Shared/nix-dotfiles.git /etc/nixos"
sudo ln -sL /etc/nixos/nix-dotfiles/flake.nix /etc/nixos
sudo nixos-rebuild --impure --flake /etc/nixos/nix-dotfiles#<HOSTNAME> switch

You may need to go through the boot options, and boot from nixos for the OS to start with the new settings

Build and switch

sudo nixos-rebuild --impure switch

Append the full path and hostname if you are going to switch config

sudo nixos-rebuild --impure --flake /etc/nixos/nix-dotfiles#test01 switch

Modules

Priority

Most options in default modules have values set with priority. This can be used to override the options in other modules. Lowest priority will be used

Modules Priority
/modules/10-system/10-core 990
/modules/10-system/20-base 980
/modules/30-graphical/10-login 790
/modules/30-graphical/30-desktop 770
/modules/30-graphical/70-web 730
/modules/40-daemons/50-server 650
/modules/50-packages/20-text_editor 580

Credits/Inspiration