d6146cede6
Migrate git config to the settings option, fix the signing key path and email, add argo-rollouts/google-cloud-sdk and other tooling, enable go, and wire a dedicated nixpkgs-unstable input so claude-code tracks unstable independently of the pinned nixpkgs.
61 lines
1.9 KiB
Nix
61 lines
1.9 KiB
Nix
{
|
|
description = "NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = inputs @ { self, nixpkgs, home-manager, ... }: {
|
|
nixosConfigurations.emmathorpe-mbp = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./system/machine/MBP-Asahi/configuration.nix
|
|
./emmathorpe/user.nix
|
|
./emmathorpe/swaywm.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.emmathorpe = import ./emmathorpe/home.nix;
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations.emmathorpe-x1c = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./system/machine/X1/configuration.nix
|
|
./emmathorpe/user.nix
|
|
./emmathorpe/swaywm.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.emmathorpe = import ./emmathorpe/home.nix;
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations.emmathorpe-edaas = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./system/machine/EDaaS/configuration.nix
|
|
./emmathorpe/user.nix
|
|
./emmathorpe/swaywm.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
|
|
home-manager.users.emmathorpe.imports = [ ./emmathorpe/home.nix ./system/modules/work/default.nix ];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|