My dotfiles for NixOS
- Bar: waybar
- Editor: Neovim
- Terminal: Alacritty
- LockScreen: HyprLock
- ScreenShot: Grimblast+swappy
Article(JP): https://zenn.dev/watagame/articles/hyprland-nix
-
Modify
/etc/nixos/configuration.nixprograms = { + git.enable = true; }; + nix.settings.experimental-features = ["nix-command" "flakes"]; -
Run
sudo nixos-rebuild switch -
Clone this repository and move it
-
Run
nix develop -
Run
switch-nixos {name}(orsudo nixos-rebuild switch --flake .#{name})
Name:virtboxmaindeskbridgetopIf you want to try my profile, use
virtboxfirst(requires 75GB at least), and make sure hardware-configuration.nix is replaced your/etc/nixos/hardware-configuration.nixbefore running command. -
Runnix run nixpkgs#home-manager -- switch --flake .#{name}(switch-home {name})This method no longer needed, but settings still here to configure darwin system in the future.
-
Reboot
My environement log(JP):
https://zenn.dev/watagame/scraps/e64841d674d16e
Hyprland themes:
