mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
This commit is contained in:
parent
51896dabea
commit
641a0cd84d
11 changed files with 2424 additions and 423 deletions
|
|
@ -1,11 +1,10 @@
|
|||
{ self, lib, ... }:
|
||||
let
|
||||
importNames = lib.swarselsystems.readNix "modules/nixos/common";
|
||||
modulesPath = "${self}/modules";
|
||||
in
|
||||
{
|
||||
imports = lib.swarselsystems.mkImports importNames "modules/nixos/common" ++ [
|
||||
"${modulesPath}/home/common/sharedsetup.nix"
|
||||
"${self}/modules/shared/sharedsetup.nix"
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,9 @@ let
|
|||
channel.enable = false;
|
||||
registry = rec {
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
p = nixpkgs;
|
||||
swarsel.flake = inputs.swarsel;
|
||||
n = nixpkgs;
|
||||
s = swarsel;
|
||||
};
|
||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue