mirror of
https://github.com/Ametic/dotfiles.git
synced 2025-12-06 03:06:05 +01:00
My NixOS daily configuration.
| hosts/desktop | ||
| modules | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Ametic's NixOS Dotfiles
My personal dotfiles that i'm using on my daily PC. Uses some parts from other configurations mentioned in Credits.
Important
These dotfiles are fitted only for my needs, check every file before using it.
Usage
- If you're sure that u want to use it, follow these steps:
- Use these commands:
nix-shell -p git vimgit clone https://github.com/Ametic/dotfiles ~/nixos-config
- Open your text editor, open
/nixos-configfolder, and search for keywordjakubwhich is my hostname, and replace for yours. - Generate your hardware configuration using this command:
nixos-generate-config --show-hardware-config > hosts/desktop/hardware.nix
- Rebuild configuration using these commands:
NIX_CONFIG="experimental-features = nix-command flakes"sudo nixos-rebuild switch --flake .#desktop
Notes
- No variables