Compare commits

..

21 commits

Author SHA1 Message Date
78d4ee01fd flake.lock: Update
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 23m50s
Flake lock file updates:

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/ee8442abce734e9a1d0e5824818062bcbf358e73' (2025-02-27)
  → 'github:nix-community/emacs-overlay/1d3a6e22ae1e938a2fd284b67ea9eb4d0ce044af' (2025-02-27)
• Updated input 'lix':
    'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=8082f0b8434a81db309ac8abf1cf32532ba9168e' (2025-02-27)
  → 'git+https://git@git.lix.systems/lix-project/lix?ref=refs/heads/main&rev=03ade5e6d75cb7705900cf696505b836fc831be0' (2025-02-27)
• Updated input 'nixosHardware':
    'github:NixOS/nixos-hardware/d58f642ddb23320965b27beb0beba7236e9117b5' (2025-02-24)
  → 'github:NixOS/nixos-hardware/009b764ac98a3602d41fc68072eeec5d24fc0e49' (2025-02-27)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0196c0175e9191c474c26ab5548db27ef5d34b05' (2025-02-24)
  → 'github:NixOS/nixpkgs/5135c59491985879812717f4c9fea69604e7f26f' (2025-02-26)
2025-02-27 15:01:39 +00:00
a3c722e9f8
Fix ddcci
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 2m19s
2025-02-27 15:24:14 +01:00
9601ff024b
Format
Some checks failed
/ test (push) Failing after 27m3s
2025-02-27 09:52:42 +01:00
74ff7d0cff
Option renamed 2025-02-27 09:52:15 +01:00
aa63b0d3e0
Unused module 2025-02-27 09:52:10 +01:00
e86705a8b7
Flake output renamed 2025-02-27 09:52:02 +01:00
0bef8299c2
Unused arg 2025-02-27 09:51:56 +01:00
fb21aab2e3
ddcci-driver patch no more needed 2025-02-27 09:51:35 +01:00
52d0f2ad8d
Disable macos-ventura module 2025-02-27 09:51:14 +01:00
6d8bbd3b94
Custom overlay for Lix's nix-eval-jobs no more needed 2025-02-27 09:50:56 +01:00
3171475f90
Reanme services.pulseaudio 2025-02-27 09:50:46 +01:00
866af533ef
Rename kdePackages.xdg-desktop-portal-kde 2025-02-27 09:50:33 +01:00
52109a6671
Use useFetchCargoVendor 2025-02-27 09:50:23 +01:00
e583ab81e4
Update inputs and remove lix-eval-jobs, nixThePlanet and nix-darwin 2025-02-27 09:50:07 +01:00
820fda70aa
Disable custom dump1090 nixos Module
Some checks failed
EVAL aarch64-linux.sisko
BUILD aarch64-linux.sisko
UPLOAD aarch64-linux.sisko
DOWNLOAD aarch64-linux.sisko
CACHIX aarch64-linux.sisko
ATTIC aarch64-linux.sisko
/ test (push) Successful in 46s
A PR on nixpkgs is now open
2025-02-27 08:48:48 +01:00
fccbf30dd3
Customize Gptel and bTop floating windows sizes for each host 2025-02-27 08:48:42 +01:00
e1ebdc68e9
Improve Discord 2025-02-27 14:06:04 +07:00
e35ba5af34
Make ssh better/faster? 2025-02-27 14:05:52 +07:00
6a7a16807d
Disable spotify on sisko 2025-02-27 14:05:40 +07:00
f358b8e5e9
Change sisko NFS mountpoint 2025-02-27 14:05:23 +07:00
88ada5d28d
Enable emacs-lsp-booster 2025-02-27 14:05:13 +07:00
19 changed files with 117 additions and 398 deletions

321
flake.lock generated
View file

@ -122,11 +122,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1740561392,
"narHash": "sha256-UKbTtTv+OBB/kgV3wgCRor57fxShWAsvVqqF2X69KSY=",
"lastModified": 1740648034,
"narHash": "sha256-pDAnvLZOIGjf0A92m+uxZxbIvcbT4wo4LmMCemA0Zi8=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "213d27a8b579113ffe399ee672d84519464b11e8",
"rev": "1d3a6e22ae1e938a2fd284b67ea9eb4d0ce044af",
"type": "github"
},
"original": {
@ -204,66 +204,6 @@
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"lix-eval-jobs",
"nixpkgs"
]
},
"locked": {
"lastModified": 1730504689,
"narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "506278e768c2a08bec68eb62932193e341f55c90",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_3": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
"lastModified": 1701473968,
"narHash": "sha256-YcVE5emp1qQ8ieHUnxt1wCZCC3ZfAS+SRRWZ2TMda7E=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": [
"nixThePlanet",
"hercules-ci-effects",
"nixpkgs"
]
},
"locked": {
"lastModified": 1696343447,
"narHash": "sha256-B2xAZKLkkeRFG5XcHHSXXcP7To9Xzr59KXeZiRf4vdQ=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4",
"type": "github"
},
"original": {
"id": "flake-parts",
"type": "indirect"
}
},
"flake-utils": {
"inputs": {
"systems": "systems_2"
@ -398,25 +338,6 @@
"type": "github"
}
},
"hercules-ci-effects": {
"inputs": {
"flake-parts": "flake-parts_4",
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1701009247,
"narHash": "sha256-GuX16rzRze2y7CsewJLTV6qXkXWyEwp6VCZXi8HLruU=",
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"rev": "31b6cd7569191bfcd0a548575b0e2ef953ed7d09",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -466,11 +387,11 @@
]
},
"locked": {
"lastModified": 1740579671,
"narHash": "sha256-Dwt/3KknOQ4bgFG5YjqDT7oWRy27rPpDjAi2P0ok1zw=",
"lastModified": 1740624780,
"narHash": "sha256-8TP61AI3QBQsjzVUQFIV8NoB5nbYfJB3iHczhBikDkU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "53c587d263f94aaf6a281745923c76bbec62bcf3",
"rev": "b8869e4ead721bbd4f0d6b927e8395705d4f16e6",
"type": "github"
},
"original": {
@ -543,11 +464,11 @@
"lix": {
"flake": false,
"locked": {
"lastModified": 1740581674,
"narHash": "sha256-GIShtZgCf6iavYT2wBOMz7Oc4CA7RAArx4zKN7pp/XQ=",
"lastModified": 1740647693,
"narHash": "sha256-pYxhtDAOmlbP4XqgjIvbpi7CFtX8USH6DlRybS2Jxu4=",
"ref": "refs/heads/main",
"rev": "ee49ed56c36d4ad1293c9a3abf3487d94be9aabc",
"revCount": 17502,
"rev": "03ade5e6d75cb7705900cf696505b836fc831be0",
"revCount": 17515,
"type": "git",
"url": "https://git@git.lix.systems/lix-project/lix"
},
@ -556,32 +477,6 @@
"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": 1738177393,
"narHash": "sha256-4QuOiATcAfeR7JZpANpHVuU1hBhRK9SaDaIemKsI9sE=",
"ref": "refs/heads/main",
"rev": "f2086413bac0bf7b3ab6ce0847e8367f911db835",
"revCount": 624,
"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": {
"inputs": {
"flake-utils": "flake-utils",
@ -649,27 +544,6 @@
"type": "github"
}
},
"nix-github-actions": {
"inputs": {
"nixpkgs": [
"lix-eval-jobs",
"nixpkgs"
]
},
"locked": {
"lastModified": 1731952509,
"narHash": "sha256-p4gB3Rhw8R6Ak4eMl8pqjCPOLCZRqaehZxdZ/mbFClM=",
"owner": "nix-community",
"repo": "nix-github-actions",
"rev": "7b5f051df789b6b20d259924d349a9ba3319b226",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-github-actions",
"type": "github"
}
},
"nix-on-droid": {
"inputs": {
"home-manager": "home-manager_2",
@ -693,52 +567,13 @@
"type": "github"
}
},
"nixDarwin": {
"inputs": {
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1740452771,
"narHash": "sha256-/tI1vFJ7/dXJqUmI+s0EV1F0DPe6dZvT444mrLUkrlU=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "42be12b510253d750138ec90c66decc282298b44",
"type": "github"
},
"original": {
"owner": "LnL7",
"repo": "nix-darwin",
"type": "github"
}
},
"nixThePlanet": {
"inputs": {
"flake-parts": "flake-parts_3",
"hercules-ci-effects": "hercules-ci-effects",
"nixpkgs": "nixpkgs_8",
"osx-kvm": "osx-kvm"
},
"locked": {
"lastModified": 1739955541,
"narHash": "sha256-X7BvCkW6QQFOmjBgrpdayOR+pv7gz7a/0wl/p+mTxt4=",
"owner": "MatthewCroughan",
"repo": "NixThePlanet",
"rev": "c9d159dc2e0049e7b250a767a3a01def52c3412b",
"type": "github"
},
"original": {
"owner": "MatthewCroughan",
"repo": "NixThePlanet",
"type": "github"
}
},
"nixosHardware": {
"locked": {
"lastModified": 1740387674,
"narHash": "sha256-pGk/aA0EBvI6o4DeuZsr05Ig/r4uMlSaf5EWUZEWM10=",
"lastModified": 1740646007,
"narHash": "sha256-dMReDQobS3kqoiUCQIYI9c0imPXRZnBubX20yX/G5LE=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "d58f642ddb23320965b27beb0beba7236e9117b5",
"rev": "009b764ac98a3602d41fc68072eeec5d24fc0e49",
"type": "github"
},
"original": {
@ -807,24 +642,6 @@
"url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
}
},
"nixpkgs-lib_2": {
"locked": {
"dir": "lib",
"lastModified": 1701253981,
"narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58",
"type": "github"
},
"original": {
"dir": "lib",
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1740463929,
@ -857,20 +674,6 @@
"type": "github"
}
},
"nixpkgs_10": {
"locked": {
"lastModified": 1682134069,
"narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fd901ef4bf93499374c5af385b2943f5801c0833",
"type": "github"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736012469,
@ -936,66 +739,32 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1736241350,
"narHash": "sha256-CHd7yhaDigUuJyDeX0SADbTM9FXfiWaeNyY34FL1wQU=",
"lastModified": 1740560979,
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8c9fd3e564728e90829ee7dbac6edc972971cd0f",
"rev": "5135c59491985879812717f4c9fea69604e7f26f",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": {
"lastModified": 1697723726,
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=",
"lastModified": 1682134069,
"narHash": "sha256-TnI/ZXSmRxQDt2sjRYK/8j8iha4B4zP2cnQCZZ3vp7k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0",
"rev": "fd901ef4bf93499374c5af385b2943f5801c0833",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_8": {
"locked": {
"lastModified": 1703255338,
"narHash": "sha256-Z6wfYJQKmDN9xciTwU3cOiOk+NElxdZwy/FiHctCzjU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6df37dc6a77654682fe9f071c62b4242b5342e04",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_9": {
"locked": {
"lastModified": 1740367490,
"narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0196c0175e9191c474c26ab5548db27ef5d34b05",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
"id": "nixpkgs",
"type": "indirect"
}
},
"nmd": {
@ -1036,22 +805,6 @@
"type": "gitlab"
}
},
"osx-kvm": {
"flake": false,
"locked": {
"lastModified": 1701316418,
"narHash": "sha256-Sk8LYhFovoMX1ln7DWYArJQphW2a4h8Xg7/ZEZXwZv4=",
"owner": "kholia",
"repo": "OSX-KVM",
"rev": "09daff670a7eb9ff616073df329586c5995623a9",
"type": "github"
},
"original": {
"owner": "kholia",
"repo": "OSX-KVM",
"type": "github"
}
},
"pre-commit-hooks-nix": {
"inputs": {
"flake-compat": [
@ -1133,15 +886,12 @@
"impermanence": "impermanence",
"lanzaboote": "lanzaboote",
"lix": "lix",
"lix-eval-jobs": "lix-eval-jobs",
"lix-module": "lix-module",
"mobile-nixos": "mobile-nixos",
"nix-on-droid": "nix-on-droid",
"nixDarwin": "nixDarwin",
"nixThePlanet": "nixThePlanet",
"nixosHardware": "nixosHardware",
"nixpkgs": "nixpkgs_9",
"treefmt-nix": "treefmt-nix_2",
"nixpkgs": "nixpkgs_6",
"treefmt-nix": "treefmt-nix",
"vscode-server": "vscode-server"
}
},
@ -1250,27 +1000,6 @@
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"lix-eval-jobs",
"nixpkgs"
]
},
"locked": {
"lastModified": 1732292307,
"narHash": "sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "705df92694af7093dfbb27109ce16d828a79155f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
},
"treefmt-nix_2": {
"inputs": {
"nixpkgs": [
"nixpkgs"
@ -1293,7 +1022,7 @@
"vscode-server": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_10"
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1729422940,

View file

@ -28,10 +28,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
dream2nix.url = "github:nix-community/dream2nix";
nixThePlanet.url = "github:MatthewCroughan/NixThePlanet"; # not following nixpkgs on purpose
nixDarwin = {
url = "github:LnL7/nix-darwin";
};
nix-on-droid.url = "github:nix-community/nix-on-droid";
lix = {
url = "git+https://git@git.lix.systems/lix-project/lix"; # FIXME update
@ -42,11 +38,6 @@
inputs.lix.follows = "lix";
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 = {
url = "github:NixOS/mobile-nixos";
flake = false;

View file

@ -1,6 +1,11 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.discord ];
home.packages = [
(pkgs.discord.override {
withOpenASAR = true;
withVencord = true;
})
];
home.file.".config/discord/settings.json".text = builtins.toJSON {
SKIP_HOST_UPDATE = true;
};

View file

@ -48,6 +48,7 @@ in
kdePackages.qtwayland
copilot-node-server
math-preview
emacs-lsp-booster
]
++ (with hunspellDicts; [
en_US-large

View file

@ -37,6 +37,10 @@
(consult-eglot-embark-mode)
)
(use-package eglot-booster
:after eglot
:config (eglot-booster-mode))
(use-package emacs
:bind (("<mouse-4>" . scroll-down-line)
("<mouse-5>" . scroll-up-line)

View file

@ -33,6 +33,12 @@ in
credential.helper = "manager";
credential.credentialStore = "cache";
core = {
fsmonitor = true;
untrackedcache = true;
};
fetch.writeCommitGraph = true;
};
userName = config.name;

View file

@ -351,11 +351,13 @@ binds {
Mod+B { spawn "firefox"; }
Mod+RETURN { spawn "emacsclient" "-c" "--eval" "(ccr/start-eshell)"; }
Mod+M { spawn "emacsclient" "-c" "--eval" "(notmuch-search \"tag:new\")"; }
Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))" "-F" "((name . \"GPTel - Emacs\") (width . 150) (height . 60))'"; }
// Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))" "-F" "((name . \"GPTel - Emacs\") (width . $NIRI_GPTEL_COLS) (height . $NIRI_GPTEL_ROWS))'"; }
Mod+G { spawn "run-floating-gptel"; }
Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; }
Mod+Alt+L { spawn "swaylock"; }
Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; }
Mod+Ctrl+b { spawn "foot" "--title='bTop'" "-W" "210x60" "btop";}
// Mod+Ctrl+b { spawn "foot" "--title='bTop'" "-W" "$NIRI_BTOP_COLSx$NIRI_BTOP_ROWS" "btop";}
Mod+Ctrl+b { spawn "run-floating-btop"; }
// Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked.

View file

@ -2,13 +2,52 @@
pkgs,
lib,
config,
hostname,
...
}:
let
niriVars =
{
picard = {
floating-gptel = {
rows = "60";
cols = "150";
};
floating-btop = {
rows = "210";
cols = "60";
};
};
kirk = {
floating-gptel = {
rows = "40";
cols = "140";
};
floating-btop = {
rows = "40";
cols = "140";
};
};
}
."${hostname}" or niriVars.kirk;
run-floating-gptel =
with niriVars.floating-gptel;
pkgs.writeScriptBin "run-floating-gptel" ''
emacsclient -c --eval '(switch-to-buffer (gptel "*GptEl*"))' -F '((name . "GPTel - Emacs") (width . ${cols}) (height . ${rows}))'
'';
run-floating-btop =
with niriVars.floating-btop;
pkgs.writeScriptBin "run-floating-btop" ''
foot --title='bTop' -W ${rows}x${cols} btop
'';
in
{
home.packages = with pkgs; [
niri
waypaper
xwayland-satellite
run-floating-gptel
run-floating-btop
];
systemd.user.targets.niri-session = {
Unit = {
@ -44,7 +83,7 @@
theme =
let
inherit (config.lib.formats.rasi) mkLiteral;
cfg = config.programs.fzf.catppuccin;
cfg = config.catppuccin.fzf;
palette = (lib.importJSON "${config.catppuccin.sources.palette}/palette.json").${cfg.flavor}.colors;
selectColor = color: palette.${color}.hex;

View file

@ -69,7 +69,6 @@
};
extraModules = [
inputs.disko.nixosModules.disko
inputs.nixThePlanet.nixosModules.macos-ventura
inputs.lix-module.nixosModules.default
inputs.lanzaboote.nixosModules.lanzaboote
inputs.catppuccin.nixosModules.catppuccin

View file

@ -57,7 +57,6 @@
"niri"
"udiskie"
"xdg"
"spotify"
"lutris"
"wine"
"cura"

View file

@ -274,11 +274,10 @@ in
extraHmModules = config.extraHmModules;
in
[
config.homeManager.nixosModule
config.homeManager.nixosModules.home-manager
(
{
config,
pkgs,
...
}:
{

View file

@ -35,13 +35,12 @@
"hass-poweroff"
"forgejo-runners"
"teamviewer"
"macos-ventura"
# "macos-ventura"
"sunshine"
"mount-sisko"
"adb"
"prometheus-exporters"
"promtail"
"dump1090"
]
++ [ ./disko.nix ];
@ -117,30 +116,21 @@
"i2c-dev" # needed?
];
# https://github.com/NixOS/nixpkgs/issues/328909
boot.extraModulePackages = [
(config.boot.kernelPackages.ddcci-driver.overrideAttrs (old: {
patches = [ ];
src = pkgs.fetchFromGitLab {
owner = "${old.pname}-linux";
repo = "${old.pname}-linux";
rev = "7853cbfc28bc62e87db79f612568b25315397dd0";
hash = "sha256-QImfvYzMqyrRGyrS6I7ERYmteaTijd8ZRnC6+bA9OyM=";
};
}))
config.boot.kernelPackages.ddcci-driver
];
# systemd.services.ddcci = {
# script = ''
# echo 'ddcci 0x37' > /sys/bus/i2c/devices/i2c-2/new_device
# '';
# wantedBy = [ "graphical.target" ];
# restartIfChanged = false;
# serviceConfig = {
# Type = "oneshot";
# RemainAfterExit = true;
# };
# };
systemd.services.ddcci = {
script = ''
echo 'ddcci 0x37' > /sys/bus/i2c/devices/i2c-2/new_device
'';
wantedBy = [ "graphical.target" ];
restartIfChanged = false;
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
};
};
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot = {

View file

@ -1,45 +0,0 @@
{ pkgs, lib, ... }:
{
systemd.services.dump1090-fa = {
description = "dump1090 ADS-B receiver (FlightAware customization)";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
DynamicUser = true;
SupplementaryGroups = "plugdev";
ExecStart = lib.escapeShellArgs [
(lib.getExe pkgs.dump1090)
"--net"
"--write-json"
"%t/dump1090-fa"
];
RuntimeDirectory = "dump1090-fa";
WorkingDirectory = "%t/dump1090-fa";
RuntimeDirectoryMode = 755;
};
};
services.nginx = {
enable = true;
virtualHosts."dump1090-fa" = {
listen = [
{
addr = "0.0.0.0";
port = 8080;
}
];
locations = {
"/".alias = "${pkgs.dump1090}/share/dump1090/";
"/data/".alias = "/run/dump1090-fa/";
};
};
};
# TODO before upstreaming in nixpkgs
# - add `meta.mainProgram` to dump1090
# - rename dump1090 to dump1090-fa
# - optionally create an alias for dump1090
# - securing the systemd service (`systemd-analyze security dump1090-fa`)
}

View file

@ -15,7 +15,7 @@
source = "${pkgs.nfs-utils.out}/bin/mount.nfs";
};
fileSystems."/home/${config.ccr.username}/nas" = {
fileSystems."/mnt/nas" = {
device = "sisko.fleet:/hd";
fsType = "nfs";
options = [

View file

@ -6,18 +6,6 @@
...
}:
{
nixpkgs.overlays = [
(final: _: {
nix-eval-jobs =
(fleetFlake.inputs.lix-eval-jobs.packages.${final.system}.nix-eval-jobs.override {
nix = final.nix;
})
// {
nix = final.nix;
};
})
];
environment.systemPackages = [ pkgs.nix-fast-build ];
nix = {

View file

@ -2,7 +2,7 @@
{
services.pipewire.enable = true;
hardware.pulseaudio = {
services.pulseaudio = {
enable = false;
};
}

View file

@ -9,7 +9,7 @@
xdg-desktop-portal-hyprland
xdg-desktop-portal-gnome
xdg-desktop-portal
xdg-desktop-portal-kde
kdePackages.xdg-desktop-portal-kde
];
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
@ -17,7 +17,7 @@
xdg-desktop-portal-hyprland
xdg-desktop-portal-gnome
xdg-desktop-portal
xdg-desktop-portal-kde
kdePackages.xdg-desktop-portal-kde
];
xdgOpenUsePortal = true;
wlr.enable = true;

View file

@ -98,6 +98,16 @@ let
};
deps = [ ];
};
eglot-booster = buildEmacsPackage {
name = "eglot-booster";
src = pkgs.fetchFromGitHub {
owner = "jdtsmith";
repo = "eglot-booster";
rev = "e6daa6bcaf4aceee29c8a5a949b43eb1b89900ed";
hash = "sha256-PLfaXELkdX5NZcSmR1s/kgmU16ODF8bn56nfTh9g6bs=";
};
deps = [ ];
};
};
# *List* containing emacs packages from (M)ELPA

View file

@ -15,7 +15,9 @@ let
rev = "5a3281dee9f889afdeea7263558e7a715dcf5aab";
hash = "sha256-UzpHAHpQx2MlmBNKm2turjeVmgp5zXKWm3nZbEo0mYE=";
};
cargoHash = "sha256-wPV+ZY34OMbBrjmhvwjljbwmcUiPdWNHFU3ac7aVbIQ=";
useFetchCargoVendor = true;
cargoHash = "sha256-oGpe+kBf6kBboyx/YfbQBt1vvjtXd1n2pOH6FNcbF8M=";
patchPhase = ''
substituteInPlace src/lib.rs \