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,6 +1,6 @@
|
|||
{ blocklist-hosts, ... }:
|
||||
{ inputs, ... }:
|
||||
|
||||
let blocklist = builtins.readFile "${blocklist-hosts}/alternates/gambling-porn/hosts";
|
||||
let blocklist = builtins.readFile "${inputs.blocklist-hosts}/alternates/gambling-porn/hosts";
|
||||
in
|
||||
{
|
||||
networking.extraHosts = ''
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, pkgs, stylix, userSettings, ... }:
|
||||
{ lib, pkgs, inputs, userSettings, ... }:
|
||||
|
||||
let
|
||||
themePath = "../../../themes/"+userSettings.theme+"/"+userSettings.theme+".yaml";
|
||||
|
@ -8,7 +8,7 @@ let
|
|||
backgroundSha256 = builtins.readFile (./. + "../../../themes/"+("/"+userSettings.theme)+"/backgroundsha256.txt");
|
||||
in
|
||||
{
|
||||
imports = [ stylix.nixosModules.stylix ];
|
||||
imports = [ inputs.stylix.nixosModules.stylix ];
|
||||
|
||||
stylix.autoEnable = false;
|
||||
stylix.polarity = themePolarity;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue