Open chrollorifat opened 3 months ago
actually i'm new to nixos. so i don't really know how to exactly perfectly rebuild someone else's nixos flake. tried so many times but i get some sort of errors every time. for example, path errors, username doesn't exist type of errors and etc. so I'm really clueless here and i couldn't find any proper guidelines regarding this. FYI, I'm already using nixos official plasma iso.
actually i'm new to nixos. so i don't really know how to exactly perfectly rebuild someone else's nixos flake. tried so many times but i get some sort of errors every time. for example, path errors, username doesn't exist type of errors and etc. so I'm really clueless here and i couldn't find any proper guidelines regarding this. FYI, I'm already using nixos official plasma iso.
Nix is a lot to get used to. Generally, most of my configs you see are within my home-manager configuration. If you want to build it on your system or a VM to try things out, you can do the following:
git clone https://gtihub.com/justinlime/dotfiles
cd dotfiles
You'll need to add your username to the list in the flake.nix file:
usernames = [ "foobar"];
Then, if you don't have home manager yet, you can bootstrap it really easily with this disgusting looking command from within the repo:
nix run --extra-experimental-features 'nix-command flakes' github:nix-community/home-manager -- switch --flake path:.#brimstone.x86_64-linux.foobar --experimental-features 'nix-command flakes'
This will both bootstrap home-manager and apply my config to your username's $HOME
. Keep in mind you need to change "foobar" in the command above to whatever you username is set to in the flake.
If you already have home-manager installed, you can just use:
home-manager switch --flake path:.#brimstone.x86_64-linux.foobar
If Hyprland fails to populate in your display manager, you can just launch with the Hyprland
command from a tty
Well with nix it's usually as simple as rebuilding home-manager using the flake in this repo. Are you looking for a non-nixified script? If so I can grab the dots and write one up