mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-16 09:49:45 +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
|
let
|
||||||
inherit (config.home) homeDirectory;
|
inherit (config.home) homeDirectory;
|
||||||
inherit (config.lib.stylix.colors.withHashtag) base00 base05;
|
inherit (config.lib.stylix.colors.withHashtag) base00 base05;
|
||||||
|
inherit (nix-config.packages.${pkgs.system}) fluent-icons;
|
||||||
|
|
||||||
inherit (config.xdg.userDirs)
|
inherit (config.xdg.userDirs)
|
||||||
download
|
download
|
||||||
@ -11,8 +12,6 @@ let
|
|||||||
pictures
|
pictures
|
||||||
videos
|
videos
|
||||||
;
|
;
|
||||||
|
|
||||||
fluent-icons = pkgs.callPackage ../packages/fluent-icons.nix { };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ eww ];
|
home.packages = with pkgs; [ eww ];
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ nix-config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkForce;
|
inherit (lib) mkForce;
|
||||||
|
inherit (nix-config.packages.${pkgs.system}) osu-backgrounds;
|
||||||
|
|
||||||
opacity = "0.95";
|
opacity = "0.95";
|
||||||
super = "SUPER";
|
super = "SUPER";
|
||||||
|
|
||||||
osu-backgrounds = pkgs.callPackage ../packages/osu-backgrounds.nix { };
|
|
||||||
|
|
||||||
gapsScript = "hypr/gaps.fish";
|
gapsScript = "hypr/gaps.fish";
|
||||||
randomBackgroundScript = "hypr/random-bg.fish";
|
randomBackgroundScript = "hypr/random-bg.fish";
|
||||||
swapBackgroundScript = "hypr/swap-bg.fish";
|
swapBackgroundScript = "hypr/swap-bg.fish";
|
||||||
|
@ -8,8 +8,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf singleton;
|
inherit (lib) mkIf singleton;
|
||||||
|
inherit (nix-config.packages.${pkgs.system}) friendlyfox;
|
||||||
friendlyfox = pkgs.callPackage ../packages/friendlyfox.nix { };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.librewolf = {
|
programs.librewolf = {
|
||||||
|
@ -11,8 +11,7 @@ let
|
|||||||
inherit (lib.gvariant) mkTuple mkUint32;
|
inherit (lib.gvariant) mkTuple mkUint32;
|
||||||
inherit (config.modules.system) username;
|
inherit (config.modules.system) username;
|
||||||
inherit (builtins) attrValues;
|
inherit (builtins) attrValues;
|
||||||
|
inherit (self.packages.${pkgs.system}) phosh-backgrounds;
|
||||||
phosh-backgrounds = pkgs.callPackage ../../packages/phosh-backgrounds.nix { };
|
|
||||||
|
|
||||||
getColorCh = colorName: channel: config.lib.stylix.colors."${colorName}-rgb-${channel}";
|
getColorCh = colorName: channel: config.lib.stylix.colors."${colorName}-rgb-${channel}";
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ let
|
|||||||
noto-fonts-emoji
|
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;
|
color = config.lib.stylix.colors.base00;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user