Skip to content

taj-ny/nix-config

Repository files navigation

❄️ nix-config built with nix

Based on Misterio77's nix-starter-configs.

Installation

nix-shell -p git
git clone https://github.com/taj-ny/nix-config
cd nix-config

export DISK=/dev/sda
export DISK_LAYOUT=disks/luks-btrfs-impermanence-swapfile.nix
export SWAPSIZE=16G
export CONFIGURATION=vm
sudo -E ./install.sh

You will be prompted for a root password. You can set it to anything, it's going to get deleted anyways because of impermanence. Root login is disabled by default.

After the system reboots, run:

cd /nix/config
nix develop
./deploy.sh -h

If using KDE, log out and log back in.

Deployment

/nix/config/deploy.sh -hnu
  • h - deploy home-manager configuration for the current user and host
  • n - deploy nixos configuration for the current host
  • u - update flake, exit if flake.lock doesn't change

Screenshots

image image image