mirror of
https://github.com/librephoenix/nixos-config
synced 2025-07-06 06:52:13 +05:30
Refactors flake inputs to be passed as single specialArg for simplicity
This commit is contained in:
parent
7888439a8d
commit
d558c9a91e
8 changed files with 43 additions and 57 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, userSettings, ... }:
|
||||
{ config, lib, pkgs, inputs, userSettings, ... }:
|
||||
|
||||
let
|
||||
themePath = "../../../themes"+("/"+userSettings.theme+"/"+userSettings.theme)+".yaml";
|
||||
|
@ -7,6 +7,9 @@ let
|
|||
backgroundSha256 = builtins.readFile (./. + "../../../themes/"+("/"+userSettings.theme)+"/backgroundsha256.txt");
|
||||
in
|
||||
{
|
||||
|
||||
imports = [ inputs.stylix.homeManagerModules.stylix ];
|
||||
|
||||
home.file.".currenttheme".text = userSettings.theme;
|
||||
stylix.autoEnable = false;
|
||||
stylix.polarity = themePolarity;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue