33 lines
852 B
Nix
33 lines
852 B
Nix
|
rec {
|
||
|
|
||
|
description = "My various NixOs configurations";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOs/nixpkgs/nixos-23.05";
|
||
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
||
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, home-manager }: {
|
||
|
|
||
|
nixosConfigurations.lambda = nixpkgs.lib.nixosSystem {
|
||
|
system = "x86_64-linux";
|
||
|
modules = [
|
||
|
{
|
||
|
nix.registry.nixpkgs.flake = nixpkgs;
|
||
|
system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev;
|
||
|
}
|
||
|
./lambda/configuration.nix
|
||
|
home-manager.nixosModules.home-manager
|
||
|
{
|
||
|
home-manager = {
|
||
|
useGlobalPkgs = true;
|
||
|
useUserPackages = true;
|
||
|
users.rachel = import ./home/rachel.nix;
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|