{ description = "bobcat nix flake"; nixConfig = { extra-substituters = [ "https://nix-community.cachix.org" ]; extra-trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; inputs = { disko = { url = "github:nix-community/disko/latest"; inputs.nixpkgs.follows = "nixpkgs"; }; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; home-manager = { url = "github:nix-community/home-manager/release-25.11"; inputs.nixpkgs.follows = "nixpkgs"; }; stylix = { url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { self, disko, home-manager, nixpkgs, nixos-hardware, stylix, ... }@inputs: { nixosConfigurations = { pardinus = let username = "freyja"; specialArgs = { inherit username; }; hostname = "pardinus"; in nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ disko.nixosModules.disko ./hosts/${hostname} ./modules/server.nix home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.extraSpecialArgs = inputs // specialArgs; home-manager.users.${username} = ./home/server.nix; nixpkgs = { config.allowUnfree = true; }; } ]; }; bobcat = let username = "freyja"; specialArgs = { inherit username; }; hostname = "bobcat"; in nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ disko.nixosModules.disko stylix.nixosModules.stylix nixos-hardware.nixosModules.lenovo-thinkpad-x280 ./hosts/${hostname} ./modules home-manager.nixosModules.home-manager { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.extraSpecialArgs = inputs // specialArgs; home-manager.users.${username} = ./users/${username}/home.nix; nixpkgs = { config.allowUnfree = true; }; } ]; }; }; }; }