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

View file

@ -3,7 +3,7 @@
inputs = { inputs = {
flakeParts.url = "github:hercules-ci/flake-parts"; 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"; nixosHardware.url = "github:NixOS/nixos-hardware";
homeManager = { homeManager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";

View file

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

View file

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

View file

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

View file

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

View file

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