feat: get X1 Carbon working

This commit is contained in:
Emma Thorpe
2025-05-29 16:36:13 +01:00
parent 8c8faa5d3e
commit da4f05d360
4 changed files with 201 additions and 39 deletions
+20 -8
View File
@@ -7,12 +7,10 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs @ { self, nixpkgs, home-manager, ... }:
let system = "aarch64-linux"; in {
nixosConfigurations = {
emmathorpe-mbp = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
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
@@ -25,6 +23,20 @@
}
];
};
};
};
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;
}
];
};
};
}