No description
modified: hosts/blackstar/nixos/configuration.nix modified: hosts/shared/nixos/shared_config.nix modified: modules/default.nix deleted: modules/desktop/apps/art.nix deleted: modules/desktop/apps/cad.nix deleted: modules/desktop/apps/cam.nix deleted: modules/desktop/apps/chat.nix deleted: modules/desktop/apps/code.nix modified: modules/desktop/apps/godot.nix modified: modules/desktop/apps/minecraft.nix modified: modules/desktop/apps/xiv.nix new file: modules/desktop/art.nix new file: modules/desktop/cad.nix new file: modules/desktop/cam.nix new file: modules/desktop/chat.nix new file: modules/desktop/code.nix new file: modules/desktop/daw.nix new file: modules/desktop/games.nix new file: modules/system/bluetooth.nix deleted: modules/system/boot/.grub.nix.swp new file: pkgs/wallpaper-engine.nix |
||
---|---|---|
assets | ||
hosts | ||
modules | ||
overlays | ||
pkgs | ||
flake.lock | ||
flake.nix | ||
home.nix | ||
README.md |
NixOS Dotfiles
The package manager Nix, and the OS built around it; NixOS, work by focusing the whole of the system's configuration on just a few, functionally-programmed files that'll reproduce the exact system you want.
This offers immutability and testability, which is a great strength for workstations.
These are those files.
NOTICE
If you wish to use this, CHANGE `nixos/hardware-configuration FOR YOUR OWN.*** It contains hard drive GUID labels, which you do not have. This can bork your install.
Install
- Clone the repo and
cd
into it:
git clone [repo url] ~/.dotfiles && cd ./dotfiles
- Generate hardware configuration:
sudo nixos-generate-config
- Copy it to the
nixos
directory:
cp /etc/nixos/hardware-configuration.nix ./nixos/hardware-configuration.nix
TODO: Add more.
-
Change settings across
nixos/configuration.nix
,shared_config.nix
,home.nix
andshared_home.nix
to your preferences (Username, etc) -
Test it out
NixOS
sudo nixos-rebuild test --flake .#[hostname]
Home
home-manager switch
Default hostnames are blackstar
(desktop) and rogue
(laptop)
- Set as default
sudo nixos-rebuild switch --flake .#[hostname]