Compare commits

...

6 commits

Author SHA1 Message Date
4ba43fb647
Configure gptel
Some checks failed
/ test (push) Has been cancelled
2025-03-28 15:48:08 +01:00
fc79fba781
Remove emacs' fish-completion 2025-03-28 15:47:58 +01:00
4f02f4bd7f
Disable zulip on kirk 2025-03-28 15:47:45 +01:00
a74f230db3
Use nixpkgs' mediatomb and change served directories 2025-03-28 15:46:51 +01:00
dedea5399a
Use enter_accept in atuin 2025-03-28 15:46:32 +01:00
72ea5f7086
Lock nixpkgs revision 2025-03-28 15:45:47 +01:00
7 changed files with 21 additions and 24 deletions

16
flake.lock generated
View file

@ -464,11 +464,11 @@
"lix": {
"flake": false,
"locked": {
"lastModified": 1743065774,
"narHash": "sha256-aC1lwnqwHbYRsPfx+lRi32fHRcln0xhIzf0Q7/Lg+vQ=",
"lastModified": 1743151582,
"narHash": "sha256-aPtMrs2Nwg4ZCN7GQohQXTuRil1FCSUI4RdLGxTf44E=",
"ref": "refs/heads/main",
"rev": "b918f1c307b314daa44407bac60046630f13ed48",
"revCount": 17742,
"rev": "b52db5e7c120fdf67e914ba9fec648a461e08614",
"revCount": 17743,
"type": "git",
"url": "https://git@git.lix.systems/lix-project/lix"
},
@ -726,17 +726,17 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1742889210,
"narHash": "sha256-hw63HnwnqU3ZQfsMclLhMvOezpM7RSB0dMAtD5/sOiw=",
"lastModified": 1742288794,
"narHash": "sha256-Txwa5uO+qpQXrNG4eumPSD+hHzzYi/CdaM80M9XRLCo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "698214a32beb4f4c8e3942372c694f40848b360d",
"rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"rev": "b6eaf97c6960d97350c584de1b6dcff03c9daf42",
"type": "github"
}
},

View file

@ -3,7 +3,7 @@
inputs = {
flakeParts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/b6eaf97c6960d97350c584de1b6dcff03c9daf42";
nixosHardware.url = "github:NixOS/nixos-hardware";
homeManager = {
url = "github:nix-community/home-manager";

View file

@ -701,9 +701,6 @@
(use-package eshell-atuin
:hook ((eshell-mode . eshell-atuin-mode)))
(use-package fish-completion-mode
:hook ((eshell-mode . fish-completion-mode)))
(use-package eshell-syntax-highlighting
:custom
((eshell-syntax-highlighting-highlight-in-remote-dirs nil))
@ -984,7 +981,6 @@ This is meant to be an helper to be called from the window manager."
(use-package gptel
:custom
;; (gptel-model 'deepseek/deepseek-chat)
(gptel-model 'qwen/qwen-max)
(gptel-backend (gptel-make-openai "OpenRouter"
:host "openrouter.ai"
@ -998,8 +994,8 @@ This is meant to be an helper to be called from the window manager."
:config
(require 'gptel-curl)
(add-hook 'gptel-post-response-functions 'gptel-end-of-response)
(add-hook 'gptel-post-stream-hook 'gptel-auto-scroll)
;; (add-hook 'gptel-post-response-functions 'gptel-end-of-response)
;; (add-hook 'gptel-post-stream-hook 'gptel-auto-scroll)
(defun ccr/suggest-eshell-command ()
(interactive)

View file

@ -67,6 +67,7 @@
sync_address = "http://sisko.wg.aciceri.dev:8889";
search_mode = "fuzzy";
style = "compact";
enter_accept = "true";
};
};

View file

@ -66,7 +66,6 @@
"digikam"
"discord"
"remmina"
"zulip"
"calibre"
"zathura"
"imv"

View file

@ -1,20 +1,22 @@
{ pkgs, ... }:
{
services.mediatomb = {
enable = true;
# FIXME remove when fixed
package =
(builtins.getFlake "github:NixOs/nixpkgs/3ffbbdbac0566a0977da3d2657b89cbcfe9a173b")
.legacyPackages.${pkgs.stdenv.system}.gerbera;
openFirewall = true;
serverName = "Sisko";
mediaDirectories = [
{
path = "/mnt/hd/torrent";
path = "/mnt/hd/movies";
recursive = true;
}
{
path = "/mnt/hd/series";
recursive = true;
}
];
};
users.users.mediatomb.extraGroups = [ "transmission" ];
users.users.mediatomb.extraGroups = [
"radarr"
"sonarr"
];
}

View file

@ -132,7 +132,6 @@ let
ligature
treemacs-nerd-icons
eshell-syntax-highlighting
fish-completion # fish completion for eshell
eshell-prompt-extras
eshell-atuin
eshell-command-not-found