2024-12-26 22:19:23 +01:00
|
|
|
# NixOS Configurations
|
|
|
|
|
2025-01-04 18:06:59 +01:00
|
|
|
My NixOS configurations with dotfiles for my desktop
|
|
|
|
|
|
|
|

|
|
|
|
|
2025-01-19 19:59:54 +01:00
|
|
|
## Uses
|
2025-01-04 18:06:59 +01:00
|
|
|
|
|
|
|
| | |
|
2025-01-19 19:59:54 +01:00
|
|
|
| ------ | ---------- |
|
2025-01-04 18:06:59 +01:00
|
|
|
| WM | Hyprland |
|
|
|
|
| Shell | Fish |
|
|
|
|
| Prompt | Starship |
|
|
|
|
| Theme | Catppuccin |
|
2025-02-02 18:33:09 +01:00
|
|
|
| GPU | Nvidia |
|
2025-01-19 19:59:54 +01:00
|
|
|
| Panel | Hyprpanel |
|
|
|
|
| Runner | Rofi |
|
|
|
|
| Fetch | Fastfetch |
|
|
|
|
|
|
|
|
Requires Nix-channel with [NixOS 24.11](https://nixos.org/)
|
2024-12-29 22:16:38 +01:00
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
2025-02-13 21:52:01 +01:00
|
|
|
First time run, will create a shell with the minimum dependencies in order to download the rest
|
|
|
|
|
|
|
|
```Shell
|
|
|
|
nix develop . --experimental-features 'nix-command flakes'
|
|
|
|
just switch-now
|
|
|
|
```
|
|
|
|
|
|
|
|
Scripts below will not run unless the necessary packages have been added to the path, either in a shell or by running nixos-rebuild
|
2025-01-19 19:59:54 +01:00
|
|
|
|
2024-12-29 22:16:38 +01:00
|
|
|
Format all .nix files
|
2025-01-04 18:06:59 +01:00
|
|
|
|
2024-12-29 22:16:38 +01:00
|
|
|
```Shell
|
2025-02-13 21:52:01 +01:00
|
|
|
just fmt
|
2024-12-29 22:16:38 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Rebuild and test Nix configuration
|
2025-01-04 18:06:59 +01:00
|
|
|
|
2024-12-29 22:16:38 +01:00
|
|
|
- Will add all new files to git and format all nix-files
|
2025-01-04 18:06:59 +01:00
|
|
|
|
2024-12-29 22:16:38 +01:00
|
|
|
```Shell
|
2025-02-13 21:52:01 +01:00
|
|
|
just test
|
2024-12-29 22:16:38 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Rebuild and switch Nix configuration
|
2025-01-04 18:06:59 +01:00
|
|
|
|
2024-12-29 22:16:38 +01:00
|
|
|
- Will add all new files to git and format all nix-files
|
2025-01-04 18:06:59 +01:00
|
|
|
|
2024-12-29 22:16:38 +01:00
|
|
|
```Shell
|
2025-02-13 21:52:01 +01:00
|
|
|
just switch
|
2024-12-29 22:16:38 +01:00
|
|
|
```
|
2025-01-19 19:59:54 +01:00
|
|
|
|
|
|
|
Update and switch
|
|
|
|
|
|
|
|
- Will update the flakes and nix-channel, then switch if there are no errors
|
|
|
|
|
|
|
|
```Shell
|
2025-02-13 21:52:01 +01:00
|
|
|
just update
|
2025-01-19 19:59:54 +01:00
|
|
|
```
|