Compare commits
12 commits
84ceeaca60
...
66c815fabb
Author | SHA1 | Date | |
---|---|---|---|
66c815fabb | |||
8b7d68b296 | |||
43c06ae4c4 | |||
a0f97d1a10 | |||
e671f7a375 | |||
6554122847 | |||
83aad01227 | |||
2114a9037f | |||
59e1329644 | |||
795b5a05ce | |||
2a213c6b28 | |||
8af20e204a |
10 changed files with 273 additions and 159 deletions
|
@ -16,7 +16,7 @@
|
||||||
treefmt.config = {
|
treefmt.config = {
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs = {
|
programs = {
|
||||||
nixfmt-rfc-style.enable = true;
|
nixfmt.enable = true;
|
||||||
deadnix.enable = false;
|
deadnix.enable = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -32,9 +32,7 @@
|
||||||
build = _: nc: nc.config.system.build.toplevel;
|
build = _: nc: nc.config.system.build.toplevel;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
x86_64-linux = lib.mapAttrs build {
|
x86_64-linux = lib.mapAttrs build { inherit (self.nixosConfigurations) picard; };
|
||||||
inherit (self.nixosConfigurations) picard;
|
|
||||||
};
|
|
||||||
aarch64-linux = lib.mapAttrs build {
|
aarch64-linux = lib.mapAttrs build {
|
||||||
inherit (self.nixosConfigurations) sisko; # pbp;
|
inherit (self.nixosConfigurations) sisko; # pbp;
|
||||||
};
|
};
|
||||||
|
|
133
flake.lock
generated
133
flake.lock
generated
|
@ -80,11 +80,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730751873,
|
"lastModified": 1731060864,
|
||||||
"narHash": "sha256-sdY29RWz0S7VbaoTwSy6RummdHKf0wUTaBlqPxrtvmQ=",
|
"narHash": "sha256-aYE7oAYZ+gPU1mPNhM0JwLAQNgjf0/JK1BF1ln2KBgk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "856a2902156ba304efebd4c1096dbf7465569454",
|
"rev": "5e40e02978e3bd63c2a6a9fa6fa8ba0e310e747f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -119,11 +119,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730970854,
|
"lastModified": 1731057136,
|
||||||
"narHash": "sha256-PvStjAOzvb3Ta9lUkPtbXKE3HJ+4/zsWvHJFO/mzD2o=",
|
"narHash": "sha256-/E0UgOD6LnDfJPqCwqa1WVEgwDQ6NXXH+Wq89cMUris=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "83b6f9732eaf48f94d8ad6baa5cc2bf82bc3d3ff",
|
"rev": "2313c4189eaef014d01fb260313f58554ddb5e31",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -218,6 +218,27 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_2": {
|
"flake-parts_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"lix-eval-jobs",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1722555600,
|
||||||
|
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts_3": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib_2"
|
"nixpkgs-lib": "nixpkgs-lib_2"
|
||||||
},
|
},
|
||||||
|
@ -235,7 +256,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_3": {
|
"flake-parts_4": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
"nixThePlanet",
|
"nixThePlanet",
|
||||||
|
@ -256,7 +277,7 @@
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-parts_4": {
|
"flake-parts_5": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": "nixpkgs-lib_3"
|
"nixpkgs-lib": "nixpkgs-lib_3"
|
||||||
},
|
},
|
||||||
|
@ -411,7 +432,7 @@
|
||||||
},
|
},
|
||||||
"hercules-ci-effects": {
|
"hercules-ci-effects": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_3",
|
"flake-parts": "flake-parts_4",
|
||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -571,19 +592,46 @@
|
||||||
"lix": {
|
"lix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730938523,
|
"lastModified": 1728951119,
|
||||||
"narHash": "sha256-UAh8hocN7Vdl+sXxuToL6Cm1TsMHBpcEmHy+l5xFrMk=",
|
"narHash": "sha256-vUBgL8zJBDyj2serxdEVbNqe6pBN4YgWwhtg3XP8mpQ=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "72cce7be3f8031ccf6dc9d3c69ba19068b3bd21f",
|
"rev": "f6077314fa6aff862758095bb55fe844e9162a1d",
|
||||||
"revCount": 16454,
|
"revCount": 16344,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git@git.lix.systems/lix-project/lix"
|
"url": "https://git@git.lix.systems/lix-project/lix"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
"rev": "f6077314fa6aff862758095bb55fe844e9162a1d",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git@git.lix.systems/lix-project/lix"
|
"url": "https://git@git.lix.systems/lix-project/lix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lix-eval-jobs": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
|
"lix": [
|
||||||
|
"lix"
|
||||||
|
],
|
||||||
|
"nix-github-actions": "nix-github-actions",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"treefmt-nix": "treefmt-nix"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1723579251,
|
||||||
|
"narHash": "sha256-xnHtfw0gRhV+2S9U7hQwvp2klTy1Iv7FlMMO0/WiMVc=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "42a160bce2fd9ffebc3809746bc80cc7208f9b08",
|
||||||
|
"revCount": 609,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.lix.systems/lix-project/nix-eval-jobs"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.lix.systems/lix-project/nix-eval-jobs"
|
||||||
|
}
|
||||||
|
},
|
||||||
"lix-module": {
|
"lix-module": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
@ -651,6 +699,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-github-actions": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"lix-eval-jobs",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1720066371,
|
||||||
|
"narHash": "sha256-uPlLYH2S0ACj0IcgaK9Lsf4spmJoGejR9DotXiXSBZQ=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-github-actions",
|
||||||
|
"rev": "622f829f5fe69310a866c8a6cd07e747c44ef820",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-github-actions",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-on-droid": {
|
"nix-on-droid": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
|
@ -679,11 +748,11 @@
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730980823,
|
"lastModified": 1731032247,
|
||||||
"narHash": "sha256-nUSlnYSeg4N18LByLw8luEvrV+8Hwgddh9Bp13mo3wA=",
|
"narHash": "sha256-OjLft7fwkmiRLXQsGAudGFZxEYXOT0nHwrQ9GbsBqJ4=",
|
||||||
"owner": "LnL7",
|
"owner": "LnL7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "fa7b46fa7716d0ff1abaa59ee2472ab25ad07188",
|
"rev": "2fbf4a8417c28cf45bae6e6e97248cbbd9b78632",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -694,7 +763,7 @@
|
||||||
},
|
},
|
||||||
"nixThePlanet": {
|
"nixThePlanet": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_3",
|
||||||
"hercules-ci-effects": "hercules-ci-effects",
|
"hercules-ci-effects": "hercules-ci-effects",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
@ -1153,13 +1222,13 @@
|
||||||
"rock5b": {
|
"rock5b": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fan-control": "fan-control",
|
"fan-control": "fan-control",
|
||||||
"flake-parts": "flake-parts_4",
|
"flake-parts": "flake-parts_5",
|
||||||
"kernel-src": "kernel-src",
|
"kernel-src": "kernel-src",
|
||||||
"nixpkgs": "nixpkgs_8",
|
"nixpkgs": "nixpkgs_8",
|
||||||
"nixpkgs-kernel": "nixpkgs-kernel",
|
"nixpkgs-kernel": "nixpkgs-kernel",
|
||||||
"panfork": "panfork",
|
"panfork": "panfork",
|
||||||
"tow-boot": "tow-boot",
|
"tow-boot": "tow-boot",
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1685695782,
|
"lastModified": 1685695782,
|
||||||
|
@ -1189,6 +1258,7 @@
|
||||||
"impermanence": "impermanence",
|
"impermanence": "impermanence",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
"lix": "lix",
|
"lix": "lix",
|
||||||
|
"lix-eval-jobs": "lix-eval-jobs",
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
"mobile-nixos": "mobile-nixos",
|
"mobile-nixos": "mobile-nixos",
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
|
@ -1197,7 +1267,7 @@
|
||||||
"nixosHardware": "nixosHardware",
|
"nixosHardware": "nixosHardware",
|
||||||
"nixpkgs": "nixpkgs_7",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"rock5b": "rock5b",
|
"rock5b": "rock5b",
|
||||||
"treefmt-nix": "treefmt-nix_2",
|
"treefmt-nix": "treefmt-nix_3",
|
||||||
"vscode-server": "vscode-server"
|
"vscode-server": "vscode-server"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1323,6 +1393,27 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"lix-eval-jobs",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1723454642,
|
||||||
|
"narHash": "sha256-S0Gvsenh0II7EAaoc9158ZB4vYyuycvMGKGxIbERNAM=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix",
|
||||||
|
"rev": "349de7bc435bdff37785c2466f054ed1766173be",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"treefmt-nix_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"rock5b",
|
"rock5b",
|
||||||
|
@ -1343,7 +1434,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"treefmt-nix_2": {
|
"treefmt-nix_3": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
};
|
};
|
||||||
nix-on-droid.url = "github:nix-community/nix-on-droid";
|
nix-on-droid.url = "github:nix-community/nix-on-droid";
|
||||||
lix = {
|
lix = {
|
||||||
url = "git+https://git@git.lix.systems/lix-project/lix";
|
url = "git+https://git@git.lix.systems/lix-project/lix?rev=f6077314fa6aff862758095bb55fe844e9162a1d"; # FIXME update
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
lix-module = {
|
lix-module = {
|
||||||
|
@ -46,6 +46,11 @@
|
||||||
inputs.lix.follows = "lix";
|
inputs.lix.follows = "lix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
lix-eval-jobs = {
|
||||||
|
url = "git+https://git.lix.systems/lix-project/nix-eval-jobs";
|
||||||
|
inputs.lix.follows = "lix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
mobile-nixos = {
|
mobile-nixos = {
|
||||||
url = "github:NixOS/mobile-nixos";
|
url = "github:NixOS/mobile-nixos";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
;; package --- My Emacs config -*- lexical-binding:t -*-
|
;; package --- My Emacs config -*- lexical-binding:t -*-
|
||||||
;; Author: Andrea Ciceri <andrea.ciceri@autistici.org>
|
;; Author: Andrea Ciceri <andrea.ciceri@autistici.org>
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; TODO
|
;; TODO org goodies
|
||||||
;; - org-roam
|
;; TODO understand how to configure cape
|
||||||
;; - org goodies
|
;; TODO org-roam-protocol to capture notes from the browser
|
||||||
;; - persp-mode?
|
;; TODO attach documents (like PDFs) to my Zettelkasten notes
|
||||||
;; - understand how to configure cape
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
|
||||||
|
@ -720,7 +719,13 @@ This is meant to be an helper to be called from the window manager."
|
||||||
(set-face-attribute face nil :inherit 'fixed-pitch))
|
(set-face-attribute face nil :inherit 'fixed-pitch))
|
||||||
|
|
||||||
(org-babel-do-load-languages
|
(org-babel-do-load-languages
|
||||||
'org-babel-load-languages '((haskell . t))))
|
'org-babel-load-languages '((haskell . t)))
|
||||||
|
|
||||||
|
(defun ccr/org-attach-save-file-list-to-property (dir)
|
||||||
|
"Save list of attachments to ORG_ATTACH_FILES property."
|
||||||
|
(when-let* ((files (org-attach-file-list dir)))
|
||||||
|
(org-set-property "ORG_ATTACH_FILES" (mapconcat #'identity files ", "))))
|
||||||
|
(add-hook 'org-attach-after-change-hook #'ccr/org-attach-save-file-list-to-property))
|
||||||
|
|
||||||
(use-package org-agenda
|
(use-package org-agenda
|
||||||
:custom
|
:custom
|
||||||
|
@ -764,7 +769,7 @@ This is meant to be an helper to be called from the window manager."
|
||||||
'(
|
'(
|
||||||
("d" "Generic entry" entry
|
("d" "Generic entry" entry
|
||||||
"* %?"
|
"* %?"
|
||||||
:target (file+head "%<%Y-%m-%d>.org" "#+title %<%Y-%m-%d>"))
|
:target (file+head "%<%Y-%m-%d>.org" "#+TITLE: %<%Y-%m-%d>"))
|
||||||
("b" "Billable entry" entry
|
("b" "Billable entry" entry
|
||||||
"* TODO ${Entry} :billable:${Client}:\n:PROPERTIES:\n:SPENT: ${Spent}\n:END:\n%?"
|
"* TODO ${Entry} :billable:${Client}:\n:PROPERTIES:\n:SPENT: ${Spent}\n:END:\n%?"
|
||||||
:target (file+head "%<%Y-%m-%d>.org" "#+title %<%Y-%m-%d>")
|
:target (file+head "%<%Y-%m-%d>.org" "#+title %<%Y-%m-%d>")
|
||||||
|
@ -869,7 +874,7 @@ This is meant to be an helper to be called from the window manager."
|
||||||
(end-pos (line-end-position)))
|
(end-pos (line-end-position)))
|
||||||
(gptel-request
|
(gptel-request
|
||||||
(buffer-substring-no-properties start-pos end-pos) ;the prompt
|
(buffer-substring-no-properties start-pos end-pos) ;the prompt
|
||||||
:system "You are proficient with emacs shell (eshell), translate the following to something I could directly prompt to the shell. Your responses should only be code, without explanation or formatting."
|
:system "You are proficient with emacs shell (eshell), translate the following to something I could directly prompt to the shell. Your responses should only be code, without explanation or formatting or quoting."
|
||||||
:buffer (current-buffer)
|
:buffer (current-buffer)
|
||||||
:context (cons (set-marker (make-marker) start-pos)
|
:context (cons (set-marker (make-marker) start-pos)
|
||||||
(set-marker (make-marker) end-pos))
|
(set-marker (make-marker) end-pos))
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{ config, pkgs, ... }:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
screenshotScript = pkgs.writeShellScriptBin "screenshot.sh" ''
|
screenshotScript = pkgs.writeShellScriptBin "screenshot.sh" ''
|
||||||
filename="$HOME/shots/$(date --iso-8601=seconds).png"
|
filename="$HOME/shots/$(date --iso-8601=seconds).png"
|
||||||
|
@ -28,7 +24,7 @@ in
|
||||||
../swayidle
|
../swayidle
|
||||||
../gammastep
|
../gammastep
|
||||||
# ../wezterm
|
# ../wezterm
|
||||||
../wayvnc
|
# ../wayvnc
|
||||||
../swaync
|
../swaync
|
||||||
../foot
|
../foot
|
||||||
];
|
];
|
||||||
|
@ -61,11 +57,11 @@ in
|
||||||
name = "Adwaita";
|
name = "Adwaita";
|
||||||
package = pkgs.adwaita-icon-theme;
|
package = pkgs.adwaita-icon-theme;
|
||||||
};
|
};
|
||||||
# cursorTheme = {
|
cursorTheme = {
|
||||||
# name = "catppuccin-mocha-sapphire";
|
name = "catppuccin-mocha-sapphire";
|
||||||
# package = pkgs.catppuccin-cursors;
|
package = pkgs.catppuccin-cursors;
|
||||||
# size = 48;
|
size = 40;
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
|
|
|
@ -5,9 +5,9 @@ cursor {
|
||||||
}
|
}
|
||||||
|
|
||||||
env = HYPRCURSOR_THEME,catppuccin-mocha-sapphire
|
env = HYPRCURSOR_THEME,catppuccin-mocha-sapphire
|
||||||
env = HYPRCURSOR_SIZE,48
|
env = HYPRCURSOR_SIZE,40
|
||||||
env = XCURSOR_THEME,catppuccin-mocha-sapphire
|
env = XCURSOR_THEME,catppuccin-mocha-sapphire
|
||||||
env = XCURSOR_SIZE,48
|
env = XCURSOR_SIZE,40
|
||||||
|
|
||||||
$mod = SUPER
|
$mod = SUPER
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ bind = $mod, t, exec, footclient $SHELL
|
||||||
bind = $mod, RETURN, exec, emacsclient -c --eval "(ccr/start-eshell)"
|
bind = $mod, RETURN, exec, emacsclient -c --eval "(ccr/start-eshell)"
|
||||||
bind = $mod, m, exec, emacsclient -c --eval '(notmuch-search "tag:new")'
|
bind = $mod, m, exec, emacsclient -c --eval '(notmuch-search "tag:new")'
|
||||||
bind = $mod, g, exec, emacsclient -c --eval '(switch-to-buffer (gptel "*ChatGPT*"))'
|
bind = $mod, g, exec, emacsclient -c --eval '(switch-to-buffer (gptel "*ChatGPT*"))'
|
||||||
|
bind = $mod, c, exec, emacsclient -c --eval '(org-roam-dailies-capture-today)'
|
||||||
bind = $mod, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0
|
bind = $mod, d, exec, fuzzel --background-color=253559cc --border-radius=5 --border-width=0
|
||||||
bind = $mod, s, exec, screenshot.sh
|
bind = $mod, s, exec, screenshot.sh
|
||||||
bind = $mod, n, exec, logseq
|
bind = $mod, n, exec, logseq
|
||||||
|
|
|
@ -36,9 +36,7 @@
|
||||||
"promtail"
|
"promtail"
|
||||||
"syncthing"
|
"syncthing"
|
||||||
]
|
]
|
||||||
++ [
|
++ [ ./disko.nix ];
|
||||||
./disko.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
ccr = {
|
ccr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -86,11 +84,9 @@
|
||||||
"usb_storage"
|
"usb_storage"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
boot.kernelModules = [
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
"kvm-intel"
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_10;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.systemd-boot = {
|
boot.loader.systemd-boot = {
|
||||||
|
|
|
@ -43,9 +43,7 @@
|
||||||
"prometheus-exporters"
|
"prometheus-exporters"
|
||||||
"promtail"
|
"promtail"
|
||||||
]
|
]
|
||||||
++ [
|
++ [ ./disko.nix ];
|
||||||
./disko.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
ccr = {
|
ccr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -126,17 +124,17 @@
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.ddcci = {
|
# systemd.services.ddcci = {
|
||||||
script = ''
|
# script = ''
|
||||||
echo 'ddcci 0x37' > /sys/bus/i2c/devices/i2c-2/new_device
|
# echo 'ddcci 0x37' > /sys/bus/i2c/devices/i2c-2/new_device
|
||||||
'';
|
# '';
|
||||||
wantedBy = [ "graphical.target" ];
|
# wantedBy = [ "graphical.target" ];
|
||||||
restartIfChanged = false;
|
# restartIfChanged = false;
|
||||||
serviceConfig = {
|
# serviceConfig = {
|
||||||
Type = "oneshot";
|
# Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
# RemainAfterExit = true;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.systemd-boot = {
|
boot.loader.systemd-boot = {
|
||||||
|
@ -148,7 +146,7 @@
|
||||||
configurationLimit = 20;
|
configurationLimit = 20;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_10;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
networking.hostId = "5b02e763";
|
networking.hostId = "5b02e763";
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,14 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
(final: _: {
|
||||||
|
nix-eval-job = fleetFlake.inputs.lix-eval-jobs.packages.${final.system}.nix-eval-jobs // {
|
||||||
|
nix = final.nix;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
|
||||||
|
|
|
@ -2,89 +2,114 @@ pkgs: epkgs:
|
||||||
let
|
let
|
||||||
inherit (epkgs) melpaPackages nongnuPackages elpaPackages;
|
inherit (epkgs) melpaPackages nongnuPackages elpaPackages;
|
||||||
|
|
||||||
# *Attrset* containig extra emacs packages from flake inputs
|
buildEmacsPackage =
|
||||||
|
args:
|
||||||
|
epkgs.trivialBuild {
|
||||||
|
pname = args.name;
|
||||||
|
inherit (args) src;
|
||||||
|
version = args.src.rev;
|
||||||
|
propagatedUserEnvPkgs = args.deps;
|
||||||
|
buildInputs = args.deps;
|
||||||
|
};
|
||||||
|
|
||||||
|
# *Attrset* containig extra emacs packages
|
||||||
|
extraPackages = {
|
||||||
|
combobulate = buildEmacsPackage {
|
||||||
|
name = "combobulate";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "mickeynp";
|
||||||
|
repo = "combobulate";
|
||||||
|
rev = "e9c5be84062e8183f556d7133d5a477a57e37e51";
|
||||||
|
hash = "sha256-r6jObsYx7RRTJUmrCN5h3+0WcHqJA67emhr4/W3rBrM=";
|
||||||
|
};
|
||||||
|
deps = [ ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# *List* containing emacs packages from (M)ELPA
|
# *List* containing emacs packages from (M)ELPA
|
||||||
mainPackages =
|
mainPackages =
|
||||||
# builtins.filter
|
builtins.filter
|
||||||
# if an extra package has the same name then give precedence to it
|
# if an extra package has the same name then give precedence to it
|
||||||
# (package: ! builtins.elem package.pname (builtins.attrNames extraPackages))
|
(package: !builtins.elem package.pname (builtins.attrNames extraPackages))
|
||||||
(with melpaPackages; [
|
(
|
||||||
meow
|
with melpaPackages;
|
||||||
meow-tree-sitter
|
[
|
||||||
dracula-theme
|
meow
|
||||||
nord-theme
|
meow-tree-sitter
|
||||||
catppuccin-theme
|
dracula-theme
|
||||||
modus-themes
|
nord-theme
|
||||||
# solaire-mode
|
catppuccin-theme
|
||||||
nerd-icons
|
modus-themes
|
||||||
nerd-icons-completion
|
# solaire-mode
|
||||||
nerd-icons-ibuffer
|
nerd-icons
|
||||||
nerd-icons-dired
|
nerd-icons-completion
|
||||||
ligature
|
nerd-icons-ibuffer
|
||||||
treemacs-nerd-icons
|
nerd-icons-dired
|
||||||
eshell-syntax-highlighting
|
ligature
|
||||||
fish-completion # fish completion for eshell
|
treemacs-nerd-icons
|
||||||
eshell-prompt-extras
|
eshell-syntax-highlighting
|
||||||
eshell-atuin
|
fish-completion # fish completion for eshell
|
||||||
eshell-command-not-found
|
eshell-prompt-extras
|
||||||
clipetty
|
eshell-atuin
|
||||||
sideline
|
eshell-command-not-found
|
||||||
consult-eglot
|
clipetty
|
||||||
# sideline-flymake
|
sideline
|
||||||
rainbow-delimiters
|
consult-eglot
|
||||||
vertico
|
# sideline-flymake
|
||||||
marginalia
|
rainbow-delimiters
|
||||||
consult
|
vertico
|
||||||
orderless
|
marginalia
|
||||||
embark
|
consult
|
||||||
embark-consult
|
orderless
|
||||||
magit
|
embark
|
||||||
magit-delta
|
embark-consult
|
||||||
magit-todos
|
magit
|
||||||
difftastic
|
magit-delta
|
||||||
with-editor
|
magit-todos
|
||||||
diff-hl
|
difftastic
|
||||||
corfu
|
with-editor
|
||||||
cape
|
diff-hl
|
||||||
which-key
|
corfu
|
||||||
nix-mode
|
cape
|
||||||
nix-ts-mode
|
which-key
|
||||||
agenix
|
nix-mode
|
||||||
zig-mode
|
nix-ts-mode
|
||||||
unisonlang-mode
|
agenix
|
||||||
purescript-mode
|
zig-mode
|
||||||
dhall-mode
|
unisonlang-mode
|
||||||
envrc
|
purescript-mode
|
||||||
inheritenv
|
dhall-mode
|
||||||
popper
|
envrc
|
||||||
paredit
|
inheritenv
|
||||||
yaml-mode
|
popper
|
||||||
hl-todo
|
paredit
|
||||||
markdown-mode
|
yaml-mode
|
||||||
haskell-mode
|
hl-todo
|
||||||
terraform-mode
|
markdown-mode
|
||||||
diredfl
|
haskell-mode
|
||||||
org-modern
|
terraform-mode
|
||||||
org-roam
|
diredfl
|
||||||
org-roam-ql
|
org-modern
|
||||||
org-roam-ui
|
org-roam
|
||||||
visual-fill-column
|
org-roam-ql
|
||||||
consult-org-roam
|
org-roam-ui
|
||||||
pass
|
visual-fill-column
|
||||||
password-store-otp
|
consult-org-roam
|
||||||
eldoc-box
|
pass
|
||||||
go-translate
|
password-store-otp
|
||||||
notmuch
|
eldoc-box
|
||||||
consult-notmuch
|
go-translate
|
||||||
poly-org
|
notmuch
|
||||||
casual-calc
|
consult-notmuch
|
||||||
gptel
|
poly-org
|
||||||
agenix
|
casual
|
||||||
solidity-mode
|
gptel
|
||||||
# org-re-reveal # FIXME very not nice hash mismatch when building
|
agenix
|
||||||
# gptel # TODO uncomment when there will be a new release including GPT-4o
|
solidity-mode
|
||||||
])
|
# org-re-reveal # FIXME very not nice hash mismatch when building
|
||||||
|
# gptel # TODO uncomment when there will be a new release including GPT-4o
|
||||||
|
]
|
||||||
|
)
|
||||||
++ (with elpaPackages; [
|
++ (with elpaPackages; [
|
||||||
delight
|
delight
|
||||||
kind-icon
|
kind-icon
|
||||||
|
@ -98,13 +123,4 @@ let
|
||||||
haskell-ts-mode
|
haskell-ts-mode
|
||||||
]);
|
]);
|
||||||
in
|
in
|
||||||
mainPackages
|
mainPackages ++ (builtins.attrValues extraPackages)
|
||||||
# ++ (builtins.attrValues extraPackages)
|
|
||||||
# Playing with EAF
|
|
||||||
++ [
|
|
||||||
# Disabled because pymupdf was broken
|
|
||||||
# (pkgs.callPackage ./eaf.nix {
|
|
||||||
# inherit (epkgs) melpaBuild;
|
|
||||||
# inherit (melpaPackages) ctable deferred epc s;
|
|
||||||
# })
|
|
||||||
]
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue