taj-ny / nix-config

❄️ My NixOS configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

❄️ 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

1 2 3

About

❄️ My NixOS configuration

License:GNU General Public License v3.0


Languages

Language:Nix 53.4%Language:Shell 45.4%Language:JavaScript 0.6%Language:Python 0.6%