No description
Find a file
2024-12-14 09:14:10 +08:00
bluenix Update NixOS config. 2024-11-19 13:41:51 +08:00
greynix Update NixOS config. 2024-12-05 18:58:04 +08:00
base.nix Update NixOS config. 2024-12-14 08:59:59 +08:00
flake.lock Update NixOS config. 2024-12-12 20:21:48 +08:00
flake.nix Update NixOS config. 2024-11-12 21:20:14 +08:00
flatpak-install.sh putting bluenix on this system 2024-11-12 20:56:36 +08:00
fonts.nix Update NixOS config. 2024-12-14 09:14:10 +08:00
gnome.nix Update NixOS config. 2024-11-22 21:39:05 +08:00
home.nix Update NixOS config. 2024-12-14 09:14:10 +08:00
nix-upgrade.sh Update NixOS config. 2024-12-02 08:54:00 +08:00
pull.sh Update NixOS config. 2024-11-22 15:25:35 +08:00
README.md Update NixOS config. 2024-11-10 20:37:18 +08:00
rebuild.sh Update NixOS config. 2024-11-22 15:57:45 +08:00
systemd.nix initial try that failed 2024-11-10 15:47:39 +08:00
update.sh Update NixOS config. 2024-11-20 20:19:04 +08:00

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:

  1. Change hostnames in the flake
  2. 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
  1. In the ./nixos-config directory, deploy with the command sudo nixos-rebuild switch --flake .#HOSTNAME

Deploy to new system:

not tested yet

  1. git clone ?
  2. 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