2022-08-02 09:55:12 +02:00
|
|
|
{
|
2022-10-02 18:22:40 +02:00
|
|
|
description = "system";
|
2022-08-02 09:55:12 +02:00
|
|
|
|
|
|
|
inputs = {
|
2022-10-02 17:39:04 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
2022-08-02 09:55:12 +02:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
2022-10-02 17:39:04 +02:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2022-08-12 12:14:32 +02:00
|
|
|
};
|
2022-09-01 09:03:08 +02:00
|
|
|
nixos-hardware.url = "github:kekrby/nixos-hardware";
|
2022-10-02 17:39:04 +02:00
|
|
|
mac-brcm-fw = {
|
2022-10-08 13:27:03 +02:00
|
|
|
url = "path:./mac-brcm-fw";
|
2022-10-02 17:39:04 +02:00
|
|
|
flake = false;
|
|
|
|
};
|
2022-08-02 09:55:12 +02:00
|
|
|
};
|
|
|
|
|
2022-10-02 17:39:04 +02:00
|
|
|
outputs = { self, nixpkgs, home-manager, nixos-hardware, mac-brcm-fw, ... }: {
|
2022-08-02 09:55:12 +02:00
|
|
|
nixosConfigurations = {
|
|
|
|
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2022-08-31 22:49:48 +02:00
|
|
|
./monosodium-glutamate-g/configuration.nix
|
2022-08-02 09:55:12 +02:00
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2022-08-12 12:14:32 +02:00
|
|
|
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
|
|
|
|
home.sessionVariables.TZ = nixosConfig.time.timeZone;
|
|
|
|
home.stateVersion = "${nixosConfig.system.stateVersion}";
|
|
|
|
};
|
|
|
|
}
|
2022-08-02 09:55:12 +02:00
|
|
|
];
|
|
|
|
};
|
2022-08-31 22:49:48 +02:00
|
|
|
potatobook-g = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2022-10-02 18:15:36 +02:00
|
|
|
"${mac-brcm-fw}"
|
2022-08-31 22:49:48 +02:00
|
|
|
./potatobook-g/configuration.nix
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.jade = { nixosConfig, pkgs, ... }: {
|
|
|
|
home.sessionVariables.TZ = nixosConfig.time.timeZone;
|
|
|
|
home.stateVersion = "${nixosConfig.system.stateVersion}";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
nixos-hardware.nixosModules.apple-t2
|
|
|
|
];
|
|
|
|
};
|
2022-08-02 09:55:12 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|