har har har har har har har har har har
This commit is contained in:
parent
a442903313
commit
9c3f5257bd
7 changed files with 43 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./qutebrowser
|
||||
./keepassxc
|
||||
];
|
||||
}
|
||||
|
|
16
modules/desktop/apps/keepassxc/default.nix
Normal file
16
modules/desktop/apps/keepassxc/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
6
modules/desktop/browsers/default.nix
Normal file
6
modules/desktop/browsers/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./qutebrowser
|
||||
./firefox
|
||||
];
|
||||
}
|
16
modules/desktop/browsers/firefox/default.nix
Normal file
16
modules/desktop/browsers/firefox/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
@ -12,6 +12,7 @@ in
|
|||
services.xserver = {
|
||||
enable = true;
|
||||
windowManager.bspwm.enable = true;
|
||||
libinput.enable = true;
|
||||
};
|
||||
users.users.sako.packages = with pkgs; [
|
||||
polybar
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./kitty
|
||||
./bspwm
|
||||
./browsers
|
||||
./apps
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue