My flake files which I use to manage my local and remote machines https://git.disroot.org/Zonsopkomst/flake
Go to file
Zonsopkomst f3cf3b38a3 Edited flake & hosts 2023-01-31 14:58:01 -06:00
common added TODO folder 2023-01-25 07:22:38 -06:00
config Edited README.md & home-manager kitty config 2023-01-31 14:44:23 -06:00
hosts/local Edited flake & hosts 2023-01-31 14:58:01 -06:00
reference Edited README.md & home-manager kitty config 2023-01-31 14:44:23 -06:00
users Edited README.md & home-manager kitty config 2023-01-31 14:44:23 -06:00
.directory Cleaned and compartmentalized files & hierarchy 2023-01-18 16:53:08 -06:00
LICENSE.md Added 2023-01-31 09:02:24 -06:00
README.md Edited README.md & home-manager kitty config 2023-01-31 14:44:23 -06:00
flake.lock added waydroid 2023-01-22 17:56:27 -06:00
flake.nix Edited flake & hosts 2023-01-31 14:58:01 -06:00

README.md

My NixOS Configuraton File

This is my NixOS with home-manager config structure using nix flakes

Current Desktop Screenshot

Gnome

Highlights:

  • Multiple NixOS configurations: desktop, laptop, and server (#TODO)

Structure

  • flake.nix: Declare hosts and home configurations
  • hosts: NixOS Configurations using nixos-rebuild --flake .#
  • common: Shared configurations

Machines

Hostname Model Type RAM Processor Main Use
nixos Dell Inspiron Laptop 16GB AMD?? Work
frija Acer Aspire 3 Laptop 4GB ?? Testing

How to

  1. Install NixOS on a Machine. I use the default Gnome installer from xxxxxxxxxxx.
  2. Copy the configuration.nix and hardware-configuration.nix files from the /etc/nixos directory
    #TODO Look into default.nix or a way to have the shared information as part of the common items.
  3. Create a hosts directory on git for the new machine #IP