diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-12-03 20:38:33 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-12-03 20:38:33 +0100 |
| commit | 1d3adcf453cd1772f3ed0887ca0b224d3eab1c56 (patch) | |
| tree | b292b83296d2a8a9984edd07341921fe0c1680c0 /flake.nix | |
| parent | 41ebf219c1f715fd597a9ec70f57887094ff3241 (diff) | |
fixup
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -23,17 +23,14 @@ let system = "x86_64-linux"; pkgs = import nixpkgs {inherit system;}; - lib = (nixpkgs.lib.extend (_: _: home-manager.lib)).extend (import ./lib self); + lib = (nixpkgs.lib.extend (_: _: home-manager.lib)).extend (import ./ivi self); # Gets module from ./machines/ and uses the lib to define which other modules # the machine needs. - # let - # machine = ivi.machines.${name}; - # in mkSystem = machine: machineConfig: with lib; lib.nixosSystem { inherit lib system; - specialArgs = {inherit machine inputs;}; + specialArgs = {inherit self machine inputs;}; modules = with lib; machine.modules ++ machineConfig |
