first 'working' hyperland config, no bar yet
This commit is contained in:
parent
c365ba3827
commit
0f8d4eb694
11 changed files with 639 additions and 72 deletions
|
@ -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)";
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue