first 'working' hyperland config, no bar yet

This commit is contained in:
Christoph Hollizeck 2024-09-10 01:31:27 +02:00
parent c365ba3827
commit 0f8d4eb694
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
11 changed files with 639 additions and 72 deletions

View file

@ -5,12 +5,12 @@
...
}:
let
inherit(lib) mkIf;
inherit(lib.wyrdgard) mkBoolOpt;
inherit (lib) mkIf;
inherit (lib.wyrdgard) mkBoolOpt;
cfg = config.wyrdgard.apps.cli-apps.nixvim;
in
{
options.wyrdgard.apps.cli-apps.nixvim = {
options.wyrdgard.apps.cli-apps.nixvim = {
enable = mkBoolOpt true "Whether to enable nixvim or not (Default true)";
};

View file

@ -1,5 +1,4 @@
{
options,
config,
lib,
pkgs,
@ -7,21 +6,25 @@
inputs,
...
}:
with lib;
with lib.wyrdgard;
let
inherit (lib) mkIf mkEnableOption;
cfg = config.wyrdgard.apps.zen-browser;
zenbrowser = inputs.zen-browser.packages."${system}".default;
in
{
options.wyrdgard.apps.zen-browser = with types; {
enable = mkBoolOpt false "Whether or not to enable zen browser";
options.wyrdgard.apps.zen-browser = {
enable = mkEnableOption "Whether or not to enable zen browser";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
inputs.zen-browser.packages."${system}".default
environment.systemPackages = [
zenbrowser
];
environment.sessionVariables.DEFAULT_BROWSER = "${zenbrowser}/bin/zen";
environment.etc = {
"1password/custom_allowed_browsers" = {
text = ''