mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Abstracted background image into one config option
This commit is contained in:
parent
cbe068f1dd
commit
76923c8f1f
5 changed files with 27 additions and 12 deletions
12
flake.nix
12
flake.nix
|
@ -25,6 +25,8 @@
|
|||
email = "librephoenix@protonmail.com";
|
||||
dotfilesDir = "~/dotfiles";
|
||||
theme = "dracula";
|
||||
backgroundUrl = "https://w.wallhaven.cc/full/6d/wallhaven-6d5k6x.jpg";
|
||||
backgroundSha256 = "+xl4H3UiVmMRNvMhIlaLdVTYYqnSyCTSX2UOTGsDQ8c=";
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
@ -51,6 +53,8 @@
|
|||
myNixConfigurationFilePath = dotfilesDir+"/system/configuration.nix";
|
||||
myHomeManagerFilePath = dotfilesDir+"/user/home.nix";
|
||||
myTheme = theme;
|
||||
myBackgroundUrl = backgroundUrl;
|
||||
myBackgroundSha256 = backgroundSha256;
|
||||
inherit (inputs) eaf;
|
||||
inherit (inputs) eaf-browser;
|
||||
};
|
||||
|
@ -63,9 +67,11 @@
|
|||
./system/configuration.nix
|
||||
# stylix.nixosModules.stylix # complains that home-manager is not defined
|
||||
];
|
||||
# specialArgs = {
|
||||
# myTheme = theme;
|
||||
# };
|
||||
specialArgs = {
|
||||
myTheme = theme;
|
||||
myBackgroundUrl = backgroundUrl;
|
||||
myBackgroundSha256 = backgroundSha256;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue