- full system theming with stylix
- secret management with sops-nix
- custom driver for my samsung galaxy book 2 pro 360
- touch support with hyprgrass
- OneDrive and ProtonDrive mounted via rclone as custom systemd services
- pre configured web apps
most of these automaticly follow the stylix set base-16 color scheme
- discord: system24
- firefox: scifox
- obsidian: anuPpuccin
- spotify: text
- and more that I'm forgetting...
app runner: rofi clipboard manager: clipse compositor: hyprland fetch: fastfetch file manager: nautilus notifications deamon: mako wallpaper setter: swww
- wezterm
- foot
- kitty
- alacritty
- nushell
- fish
- zsh
- starship
- oh-my-posh
- waybar
(notes to self, not really instructions)
must in bash fot commands to work
nix-shell -p git home-manager
sudo rm -r /etc/nixos/*
sudo git clone https://github.com/$USER/nixdots /etc/nixos
cd /etc/nixos
sudo nixos-generate-config
rm configuration.nix
sudo mv hardware-configuration.nix hosts/$HOSTNAME/hardware-configuration.nix
home-manager switch --flake .#$USER@$HOSTNAME --extra-experimental-features "nix-command flakes" -b b
sudo nixos-rebuild switch --flake .#$HOSTNAME
sops-nix
get user (dev) key for sops:
mkdir .config/sops/age
age-keygen -o .config/sops/age/keys.txt
get age public key from the machine ssh key to put into .sops.yaml:
nix-shell -p ssh-to-age --run 'cat /etc/ssh/ssh_host_ed25519_key.pub | ssh-to-age'
if there are any erros with the keys, or after the keys were changed:
sops updatekeys /etc/nixos/core/secrets/secrets.yaml
note: if no key is able to decrypt this command will fail
copy ssh key into /hosts
cp /etc/ssh/ssh_host_ed25519_key.pub /etc/nixos/hosts/zireael/zireael.pub
put password hash into secrets.yaml, to get hash:
mkpasswd -s
configuring onedrive with rclone
mkdir ~/onedrive
rclone config
cd /etc/nixos/ && nix flake update && nh home switch && nh os switch
Enable WSL if you haven't done already:
wsl --install --no-distribution
Download nixos-wsl.tar.gz from the latest release.
Import the tarball into WSL:
wsl --import NixOS --version 2 $env:USERPROFILE\NixOS\ nixos-wsl.tar.gz
You can now run NixOS:
wsl -d NixOS
For more detailed instructions, refer to the documentation.
-
@joshuagrisham for his magnificent work on the galaxy book driver
-
@ItzDerock for sharing his nix derivation for that driver
-
@MrVivekRajan for hyprlock style inspiration