My dotfiles for NixOS
- Bar: Hyprpanel
- Editor: Neovim
- Terminal: Alacritty
- LockScreen: HyprLock
- ScreenShot: Grimblast+swappy
Article(JP): https://zenn.dev/watagame/articles/hyprland-nix
-
Modify
/etc/nixos/configuration.nix
programs = { + 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:virtbox
maindesk
bridgetop
If you want to try my profile, use
virtbox
first(requires 75GB at least), and make sure hardware-configuration.nix is replaced your/etc/nixos/hardware-configuration.nix
before 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: