Skip to content

rafal11ck/nix-dots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

workstation screenshot

Quick install

In NixOs Live CD

  1. Mount partitions at /mnt
  2. nixos-generate-config --root /mnt
  3. cp /mnt/etc/nixos/hardware-configuration.nix /etc/nixos/
  4. nix-shell -p git
  5. git clone <THIS_REPO_URL> replace <THIS_REPO_URL> with URL to this repository
  6. cd into repository directory cloned in previous step
  7. sudo nixos-install --flake './#local-hardware-config' --impure
  8. reboot

Resources Links

https://search.nixos.org/packages?channel=unstable

https://search.nixos.org/options?channel=unstable

https://home-manager-options.extranix.com/?query=&release=master

https://noogle.dev/

https://nixpk.gs/pr-tracker.html

Standalone Nix home manager

Nix command and flakes support has to be enabled.

mkdir -p ~/.config/nix
echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf

Nix home-manager config provides cli part of config only. As gui has host system dependencies and workarounds. For GUI configuration use stow-able dotfiles.

nix run home-manager/master -- switch --flake .

Standalone stow-able dotfiles

To apply using go-task run task setup-dotfiles.

Files can be applied manually too using stow, that's what aftermentioned task does.

Structure

./dotfiles regular stow-able dot files

./home nix home-manager home configuration. See it's own readme.md for detil

/hosts Contains host specific configurations.

./lib Contains function used to define nixOS systems outside of main flake module.

./modules Modules so that hosts can be made out modular parts.

About

Decleartive workstations configuration using NixOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published