mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-24 22:18:43 +01:00
52 lines
1.6 KiB
Nix
52 lines
1.6 KiB
Nix
{
|
|
description = "system";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixos-hardware.url = "github:kekrby/nixos-hardware";
|
|
mac-brcm-fw = {
|
|
url = "path:./mac-brcm-fw";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, nixos-hardware, mac-brcm-fw, ... }: {
|
|
nixosConfigurations = {
|
|
monosodium-glutamate-g = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./monosodium-glutamate-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}";
|
|
};
|
|
}
|
|
];
|
|
};
|
|
potatobook-g = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
"${mac-brcm-fw}"
|
|
./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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|