mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-25 15:13:12 +02:00
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
parent
a133d53f25
commit
f50d6a056c
2 changed files with 36 additions and 25 deletions
12
flake.nix
12
flake.nix
|
@ -17,6 +17,10 @@
|
|||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./ultrapc/configuration.nix
|
||||
{
|
||||
environment.etc."nix/inputs/nixpkgs".source = nixpkgs.outPath;
|
||||
nix.nixPath = [ "nixpkgs=/etc/nix/inputs/nixpkgs" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
|
||||
|
@ -24,7 +28,13 @@
|
|||
ultra = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [ ./ultrapc/home.nix ];
|
||||
modules = [
|
||||
./ultrapc/home.nix
|
||||
(args: { # https://ayats.org/blog/channels-to-flakes
|
||||
xdg.configFile."nix/inputs/nixpkgs".source = nixpkgs.outPath;
|
||||
home.sessionVariables.NIX_PATH = "nixpkgs=${args.config.xdg.configHome}/nix/inputs/nixpkgs$\{NIX_PATH:+:$NIX_PATH}";
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -76,6 +76,7 @@ in {
|
|||
ghostwriter
|
||||
skypeforlinux
|
||||
man-pages
|
||||
ckan
|
||||
];
|
||||
};
|
||||
programs = {
|
||||
|
|
Loading…
Reference in a new issue