1{
2 description = "Cyclamen: Nel's NixOS and Home Manager nix flake";
3
4 inputs = {
5 nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
6 home-manager = {
7 url = "github:nix-community/home-manager/master";
8 inputs.nixpkgs.follows = "nixpkgs";
9 };
10 };
11
12 outputs = {
13 nixpkgs,
14 home-manager,
15 ...
16 } @ inputs: let
17 system = "x86_64-linux";
18 pkgs = nixpkgs.legacyPackages.${system};
19 in {
20 homeConfigurations."nel" = home-manager.lib.homeManagerConfiguration {
21 inherit pkgs;
22 extraSpecialArgs = { inherit inputs; };
23 modules = [ ./homes/nel/default.nix ];
24 };
25
26 nixosConfigurations."nel-desktop" = nixpkgs.lib.nixosSystem {
27 specialArgs = { inherit inputs; };
28 modules = [ ./systems/nel-desktop/configuration.nix ];
29 };
30 };
31}