So many changes dude, mostly gptel and libreoffice

This commit is contained in:
2026-01-12 22:52:20 +02:00
parent 1ab061fb90
commit 8d3c708b6c
9 changed files with 66 additions and 6 deletions
+2
View File
@@ -16,5 +16,7 @@
./deluge.nix
./lauretta-emacs.nix
./gimp.nix
# ./printing.nix
./libreoffice.nix
];
}
+21
View File
@@ -0,0 +1,21 @@
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.libreoffice.enable;
in {
options.azos.libreoffice.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
libreoffice
];
};
}
+22
View File
@@ -0,0 +1,22 @@
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.printing.enable;
in {
options.azos.printing.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
services.printing.enable = true;
home.packages = with pkgs; [
hplip
];
};
}
+1 -1
View File
@@ -21,7 +21,7 @@ c.url.searchengines = {
'yt': 'https://www.youtube.com/results?search_query={}', #Youtube
'gh': 'https://github.com/search?q={}', #Qutebrowser
'wa' : 'https://www.wolframalpha.com/input/?i={}', #Wolfram alpha
'nx' : 'https://search.nixos.org/packages?channel=25.05&query={}' #nixpkgs
'nx' : 'https://search.nixos.org/packages?channel=25.11&query={}' #nixpkgs
}
#Youtube stuff from DT.