restructure
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
{ inputs, ... }: {
|
||||
|
||||
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
|
||||
flake.homeModules.nathan-firefox = { config, lib, pkgs, ... }: {
|
||||
|
||||
options.homeconfig.firefox.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.homeconfig.firefox.enable {
|
||||
config = {
|
||||
|
||||
home.sessionVariables.BROWSER = "${config.programs.firefox.package}/bin/firefox";
|
||||
|
||||
home.packages = lib.mkIf config.homeconfig.wal.enable [
|
||||
home.packages = lib.mkIf (builtins.any (x: x == pkgs.pywal16) config.home.packages) [
|
||||
pkgs.pywalfox-native
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user