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
-1
View File
@@ -103,4 +103,3 @@ nix develop .#shells.x86_64-linux.debugTexShell
** Things to work out
*** Notebook tempaltes
https://github.com/NixOS/nix/issues/12281
Generated
+3 -3
View File
@@ -71,11 +71,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1766747458,
"narHash": "sha256-m63jjuo/ygo8ztkCziYh5OOIbTSXUDkKbqw3Vuqu4a4=",
"lastModified": 1768178648,
"narHash": "sha256-kz/F6mhESPvU1diB7tOM3nLcBfQe7GU7GQCymRlTi/s=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c633f572eded8c4f3c75b8010129854ed404a6ce",
"rev": "3fbab70c6e69c87ea2b6e48aa6629da2aa6a23b0",
"type": "github"
},
"original": {
+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.
+13
View File
@@ -11,5 +11,18 @@ orgTrivialBuild {
pkgs.azos-emacs-base
pkgs.azos-emacs-station
gptel
(epkgs.callPackage epkgs.trivialBuild {
pname = "gptel-autocomplete";
version = "2025-06-18";
src = pkgs.fetchFromGitHub {
owner = "JDNdeveloper";
repo = "gptel-autocomplete";
rev = "8ace326a6e7b8a3a4df7a6e80272b472e7fbd167"; # Use a specific commit hash for reproducibility
sha256 = "sha256-gVgdFLi6RGUCD3ZXzOIo5XpTNmP/9lMAO5nyWu1zVlM=";
};
buildInputs = with epkgs; [
gptel
];
})
];
}
+3
View File
@@ -29,6 +29,9 @@
(setq-local whitespace-style '(face tabs trailing tab-mark
indentation))))
)
(use-package gptel-autocomplete
:ensure t)
#+end_src
** Headphones