Compare commits
10 commits
abf32ff426
...
d450b6d387
Author | SHA1 | Date | |
---|---|---|---|
d450b6d387 | |||
df2ab41246 | |||
4ba43fb647 | |||
fc79fba781 | |||
4f02f4bd7f | |||
a74f230db3 | |||
dedea5399a | |||
72ea5f7086 | |||
e2ac562d31 | |||
5d4b19d217 |
9 changed files with 32 additions and 36 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@ result
|
||||||
.direnv
|
.direnv
|
||||||
.pre-commit-config.yaml
|
.pre-commit-config.yaml
|
||||||
*.qcow2
|
*.qcow2
|
||||||
|
result*
|
34
flake.lock
generated
34
flake.lock
generated
|
@ -122,11 +122,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743067111,
|
"lastModified": 1743153396,
|
||||||
"narHash": "sha256-v9VJXx7525gMH6S7WesJM84Dr76jxRubATuBJn4L14o=",
|
"narHash": "sha256-Wtgr/u0kYqMHvKjXRu9b7mPo32YDw/7IOIJ2eV8KFuQ=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "5c22a2387d4ac1e1d64d66489e7d3ecb0a30cbcd",
|
"rev": "40a9308b06ee2061c5871038024ffcfd992a9ce8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -387,11 +387,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743082807,
|
"lastModified": 1743136572,
|
||||||
"narHash": "sha256-qmrCYHVqE6j0TQApfxGx8aRYNdNsqtOrZuH09A+cjTU=",
|
"narHash": "sha256-uwaVrKgi6g1TUq56247j6QvvFtYHloCkjCrEpGBvV54=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "171915bfce41018528fda9960211e81946d999b7",
|
"rev": "1efd2503172016a6742c87b47b43ca2c8145607d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -569,11 +569,11 @@
|
||||||
},
|
},
|
||||||
"nixosHardware": {
|
"nixosHardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742806253,
|
"lastModified": 1743167577,
|
||||||
"narHash": "sha256-zvQ4GsCJT6MTOzPKLmlFyM+lxo0JGQ0cSFaZSACmWfY=",
|
"narHash": "sha256-I09SrXIO0UdyBFfh0fxDq5WnCDg8XKmZ1HQbaXzMA1k=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "ecaa2d911e77c265c2a5bac8b583c40b0f151726",
|
"rev": "0ed819e708af17bfc4bbc63ee080ef308a24aa42",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.atuin = {
|
programs.atuin = {
|
||||||
enable = true;
|
enable = false; # FIXME broken on bash: https://github.com/nix-community/home-manager/issues/5958
|
||||||
settings = {
|
settings = {
|
||||||
daemon = {
|
daemon = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
"digikam"
|
"digikam"
|
||||||
"discord"
|
"discord"
|
||||||
"remmina"
|
"remmina"
|
||||||
"zulip"
|
|
||||||
"calibre"
|
"calibre"
|
||||||
"zathura"
|
"zathura"
|
||||||
"imv"
|
"imv"
|
||||||
|
|
|
@ -38,8 +38,6 @@
|
||||||
./disko.nix
|
./disko.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_6_11;
|
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "schedutil";
|
powerManagement.cpuFreqGovernor = "schedutil";
|
||||||
|
|
|
@ -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"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue