mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
chore: Replace callPackage with flake package
Removes the possibility of ../paths breaking.
This commit is contained in:
parent
3c89c82ced
commit
0b44a17ca9
@ -1,8 +1,9 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ nix-config, pkgs, config, ... }:
|
||||
|
||||
let
|
||||
inherit (config.home) homeDirectory;
|
||||
inherit (config.lib.stylix.colors.withHashtag) base00 base05;
|
||||
inherit (nix-config.packages.${pkgs.system}) fluent-icons;
|
||||
|
||||
inherit (config.xdg.userDirs)
|
||||
download
|
||||
@ -11,8 +12,6 @@ let
|
||||
pictures
|
||||
videos
|
||||
;
|
||||
|
||||
fluent-icons = pkgs.callPackage ../packages/fluent-icons.nix { };
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [ eww ];
|
||||
|
@ -1,13 +1,12 @@
|
||||
{ pkgs, lib, ... }:
|
||||
{ nix-config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkForce;
|
||||
inherit (nix-config.packages.${pkgs.system}) osu-backgrounds;
|
||||
|
||||
opacity = "0.95";
|
||||
super = "SUPER";
|
||||
|
||||
osu-backgrounds = pkgs.callPackage ../packages/osu-backgrounds.nix { };
|
||||
|
||||
gapsScript = "hypr/gaps.fish";
|
||||
randomBackgroundScript = "hypr/random-bg.fish";
|
||||
swapBackgroundScript = "hypr/swap-bg.fish";
|
||||
|
@ -8,8 +8,7 @@
|
||||
|
||||
let
|
||||
inherit (lib) mkIf singleton;
|
||||
|
||||
friendlyfox = pkgs.callPackage ../packages/friendlyfox.nix { };
|
||||
inherit (nix-config.packages.${pkgs.system}) friendlyfox;
|
||||
in
|
||||
{
|
||||
programs.librewolf = {
|
||||
|
@ -11,8 +11,7 @@ let
|
||||
inherit (lib.gvariant) mkTuple mkUint32;
|
||||
inherit (config.modules.system) username;
|
||||
inherit (builtins) attrValues;
|
||||
|
||||
phosh-backgrounds = pkgs.callPackage ../../packages/phosh-backgrounds.nix { };
|
||||
inherit (self.packages.${pkgs.system}) phosh-backgrounds;
|
||||
|
||||
getColorCh = colorName: channel: config.lib.stylix.colors."${colorName}-rgb-${channel}";
|
||||
|
||||
|
@ -35,7 +35,7 @@ let
|
||||
noto-fonts-emoji
|
||||
;
|
||||
|
||||
stylix-background = pkgs.callPackage ../packages/stylix-background.nix {
|
||||
stylix-background = nix-config.packages.${pkgs.system}.stylix-background.override {
|
||||
color = config.lib.stylix.colors.base00;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user