Files
nixfiles/flake.nix
T

54 lines
1.6 KiB
Nix
Raw Normal View History

2025-05-21 19:47:51 +01:00
{
description = "NixOS configuration";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
2025-05-29 16:36:13 +01:00
outputs = inputs @ { self, nixpkgs, home-manager, ... }: {
2025-05-29 17:14:31 +01:00
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; };
2025-06-17 15:28:07 +01:00
let profile = "work";
modules = [
./system/machine/EDaaS/configuration.nix
./emmathorpe/user.nix
./emmathorpe/swaywm.nix
2025-06-17 15:28:07 +01:00
./emmathorpe/home-manager-module.nix
];
};
2025-05-29 17:14:31 +01:00
};
2025-05-21 19:47:51 +01:00
}