Nix noob trying to build his system
Find a file
2023-05-06 14:56:06 -05:00
system Added a flake with no idea what I'm doing.. 2023-05-06 12:32:14 -05:00
user Got my first overlay working! 2023-05-06 14:56:06 -05:00
flake.nix Added a flake with no idea what I'm doing.. 2023-05-06 12:32:14 -05:00
LICENSE Add LICENSE 2023-04-22 20:48:09 +00:00
README.org Added main and mirror repo links 2023-05-06 07:16:35 -05:00

NixOS Config

Main Repo Link (GitLab)

Mirror Repo Link (GitHub)

What is this repository?

While I still run Arch btw, I've been experimenting with NixOS and quite like it! My configuration is not ready for daily use yet, but I'm learning inside a VM. This repository is where I'm working on my NixOS dotfiles, and once ready, I will daily drive Nix btw instead.

Notes for Myself

To get this running on a NixOS system, I will start by cloning the repo:

git clone https://gitlab.com/librephoenix/nixos-config.git /path/to/my/config/folder

To get the hardware configuration, I can other copy from /etc/nixos/hardware-configuration.nix or run:

sudo nixos-generate-config --dir /dotfiles/path/system

Then, I can switch into the system configuration by running:

sudo nixos-rebuild switch -I nixos-config=nixos-config=/dotfiles/path/system/configuration.nix

Home manager can be installed with:

nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update
nix-shell '<home-manager>' -A install

Then, my home-manager configuration can be installed with:

home-manager switch -f /dotfiles/path/user/home.nix