har har har har har har har har har har

This commit is contained in:
Sakooooo 2023-07-09 01:03:46 +03:00
parent a442903313
commit 9c3f5257bd
Signed by: sako
GPG key ID: 3FD715D87D7725E0
7 changed files with 43 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
imports = [
./qutebrowser
./keepassxc
];
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.keepassxc;
in
{
options.modules.desktop.apps.keepassxc = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
keepassxc
];
};
}

View file

@ -0,0 +1,6 @@
{
imports = [
./qutebrowser
./firefox
];
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.browsers.firefox;
in
{
options.modules.browsers.firefox = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
firefox
];
};
}

View file

@ -1,10 +1,10 @@
{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.qutebrowser;
cfg = config.modules.desktop.browsers.qutebrowser;
in
{
options.modules.desktop.apps.qutebrowser = {
options.modules.desktop.browsers.qutebrowser = {
enable = mkEnableOption false;
};

View file

@ -12,6 +12,7 @@ in
services.xserver = {
enable = true;
windowManager.bspwm.enable = true;
libinput.enable = true;
};
users.users.sako.packages = with pkgs; [
polybar

View file

@ -2,6 +2,7 @@
imports = [
./kitty
./bspwm
./browsers
./apps
];
}