{ description = "Bo's NixOS flake :]"; inputs = { # This flake is currently set to use the latest stable branche of nixpkgs, this being 25.05 # Use `nix flake update` to update to the latest commit on the branche given below nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; # Use home-manager and make home-manager pull its packages from nixpkgs (input entered above) home-manager = { url = "github:nix-community/home-manager/release-25.05"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = inputs@{ self, nixpkgs, ... }: { nixosConfigurations = { # Orchid is the name given for workstation installs # Use `nixos-rebuild switch --flake .#Orchid` to build for this configuration Orchid = nixpkgs.lib.nixosSystem { modules = [ ./hosts/default.nix # Global default configuration ./hosts/Orchid/configuration.nix # Machine-specific configuration # Other modules ./modules/nixos/kde.nix #./modules/nixos/gnome.nixlib # Imports home-manager inputs.home-manager.nixosModules.default { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.bo = import ./hosts/Orchid/home.nix; } ]; }; # Moonlight is the name given for server installs # Use `nixos-rebuild switch --flake .#Moonlight` to build for this configuration Neptune = { modules = [ ./hosts/Moonlight/configuration.nix ]; }; }; }; }