No description
bluenix | ||
greynix | ||
base.nix | ||
flake.lock | ||
flake.nix | ||
flatpak-install.sh | ||
fonts.nix | ||
gnome.nix | ||
home.nix | ||
README.md | ||
systemd.nix | ||
update.sh |
My NixOS Flake Config
My NixOS repo with that has the configs for 2 of my NixOS machines.
Note to self:
I have no files in /etc/nixos now. I wonder if I should ln
them there. Hmm.
How to use this:
- Change hostnames in the flake
- Update things back up to github with:
git add . #add all files
git commit -m "Update NixOS config." #commit message
git push origin main #put updated files in git repo
- In the
./nixos-config
directory, deploy with the commandsudo nixos-rebuild switch --flake .#HOSTNAME
Deploy to new system:
not tested yet
- git clone ?
- nixos-rebuild switch --flake .#HOSTNAME
Structure of NixOS Config
└── nixos-config
├── base.nix
├── bluenix
│ ├── configuration.nix
│ └── hardware-configuration.nix
├── flake.nix
├── fonts.nix
├── gnome.nix
├── greynix
│ ├── configuration.nix
│ └── hardware-configuration.nix
├── home.nix
└── systemd.nix