mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-05 15:16:23 +01:00
49 lines
1.7 KiB
Nix
49 lines
1.7 KiB
Nix
{
|
|
description = "home manager config apparently";
|
|
|
|
inputs = {
|
|
# nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
|
|
nixpkgs.url = "github:kekrby/nixpkgs/add-fetchpartial";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpks.follows = "nixpkgs";
|
|
};
|
|
nixos-hardware.url = "github:kekrby/nixos-hardware";
|
|
# nixpkgs-fetchpartial.url = "github:kekrby/nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }: {
|
|
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 = [
|
|
./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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|