This dotfiles is made for personal use. I use it with Nix Package Manager, so you can use it with NixOS or Nix installed on your system.
Name | Description |
---|---|
Assets | Assets for the configuration (wallpapers, etc.) |
Hosts | Configuration for hosts (laptop, desktop, etc.) |
Modules | Package configurations and nixGL wrapped packages |
Packages | Modded & Custom packages |
Users | User configurations (home-manager) |
Name | Description |
---|---|
savew-notebook-arch | Laptop running a Intel i7-13650HX, 16GB of RAM and GeForce RTX 4050 Mobile |
-
First, set up some packages on your system. (I'm using Arch, so you can use this command to install them)
yay -S git curl zsh gtklock polkit-gnome
- We need to install gtklock using the distribution's own package manager. Because the home-manager is not compatible with pam-locking. If you use another distribution, you can install it with your package manager.
-
Set up Nix Package Manager on your system (if you haven't already or you don't have NixOS installed)
NIX_VERSION="unstable" #~ or latest stable version e.g "24.11" curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install nix-channel --add https://nixos.org/channels/nixos-${NIX_VERSION} nixpkgs nix-channel --update
-
Enable flake support in Nix
echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
-
Set up home-manager from this source
-
For unstable nixpkgs:
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
-
For stable nixpkgs:
nix-channel --add https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz home-manager nix-channel --update nix-shell '<home-manager>' -A install
-
-
Switch this flake
home-manager switch --no-out-link --flake github:saveside/dots.nix/unstable#savew-notebook-arch
Note: In this example, you must change username into the hosts/savew-notebook-arch/home/default.nix file.