nixos-greynix/README.md
2025-01-12 19:15:32 +08:00

1.4 KiB

My NixOS Flake Config

My NixOS repo with that has the configs for 2 of my NixOS machines.

NOTE: Archived. I don't use this anymore. It got too complicated with multiple machines.

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

Structure of NixOS Config

├── flake.lock
├── flake.nix
├── flatpak-install.sh
├── home.nix
├── hosts
│   ├── aspirenix
│   │   ├── configuration.nix
│   │   └── hardware-configuration.nix
│   ├── bluenix
│   │   ├── configuration.nix
│   │   └── hardware-configuration.nix
│   └── greynix
│       ├── configuration.nix
│       └── hardware-configuration.nix
├── nixosModules
│   ├── base.nix
│   ├── docker.nix
│   ├── fonts.nix
│   ├── gnome.nix
│   ├── module-docker.nix
│   ├── module-modules.nix
│   └── systemd.nix
├── nix-upgrade.sh
├── pull.sh
├── README.md
├── rebuild.sh
├── temp-non-declarative-stuff.txt
└── update.sh