Quickshell instead of waybar, swaync, hyprlock, etc...
Used dots for quickshell, that already existed and added virtual keyboard to their lockscreen. Fixed issue with emacs not starting Deleted waybar config Disabled blueman by default Added xournalpp
This commit is contained in:
parent
e39737f6a9
commit
d260022cc8
16 changed files with 441 additions and 441 deletions
31
modules/home/programs/xournalpp/default.nix
Normal file
31
modules/home/programs/xournalpp/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
namespace,
|
||||
system,
|
||||
target,
|
||||
format,
|
||||
virtual,
|
||||
systems,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.${namespace}; let
|
||||
cfg = config.${namespace}.programs.xournalpp;
|
||||
impermanence = config.${namespace}.impermanence;
|
||||
in {
|
||||
options.${namespace}.programs.xournalpp = with types; {
|
||||
enable = mkBoolOpt false "Enable xournal++";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [xournalpp];
|
||||
home.persistence = mkIf impermanence.enable {
|
||||
"${impermanence.persistentStorage}".directories = [
|
||||
".config/xournalpp"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -30,9 +30,14 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable (import ./batteryStatus.nix {
|
||||
inherit config;
|
||||
inherit namespace;
|
||||
inherit pkgs;
|
||||
});
|
||||
config = mkIf cfg.enable (mkMerge [
|
||||
(import ./batteryStatus.nix {
|
||||
inherit config;
|
||||
inherit namespace;
|
||||
inherit pkgs;
|
||||
})
|
||||
{
|
||||
services.upower.enable = true;
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,6 +29,6 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
#services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue