Working on reshuffling

This commit is contained in:
2026-03-19 07:26:46 +00:00
parent a58b6e1751
commit e3e5c855d6
2 changed files with 12 additions and 8 deletions
@@ -1,6 +1,8 @@
# ./modules/apps/zen-browser.nix
{ lib, ... }:
{ config, pkgs, lib, ... }:
let
username = "henrov"; # optional, if you want user-specific stuff
in
{
options.mySystem = {
apps = {
@@ -15,8 +17,8 @@
};
};
# This is now evaluated with config in scope
config = lib.mkIf (config.mySystem.apps.zenBrowser.enable) {
# Here you could set Home Manager packages or system packages
environment.systemPackages = [ (import <nixpkgs> {}).zen-browser ];
environment.systemPackages = [ pkgs.zen-browser ];
};
}