New Ollama.nix, the ai.nix did not work out. Added ZED-editor as separate app

This commit is contained in:
2026-02-28 15:05:54 +01:00
parent d0314fab5e
commit d894735654
2 changed files with 324 additions and 397 deletions
+324 -364
View File
File diff suppressed because it is too large Load Diff
-33
View File
@@ -1656,39 +1656,6 @@ in
}
#+end_src
** NCSway
Takes care of notifications
#+begin_src nix :tangle home/desktop/ncsway.nix :noweb tangle :mkdirp yes
{ config, pkgs, lib, flakeRoot, ... }:
let
repoConf = flakeRoot + "/assets/conf/desktop/notifications/swaync/config.json";
repoStyle = flakeRoot + "/assets/conf/desktop/notifications/swaync/style.css";
in
{
home.packages = [
pkgs.swaynotificationcenter
pkgs.libnotify
];
# Ensure config directory exists in ~/.config
xdg.configFile."swaync/config.json".source = repoConf;
xdg.configFile."swaync/style.css".source = repoStyle;
# Start swaync automatically (systemd user service)
systemd.user.services.swaync = {
Unit = {
Description = "Sway Notification Center";
PartOf = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
Restart = "always";
};
Install = {
WantedBy = [ "graphical-session.target" ];
};
};
}
#+end_src
** Powermenu
Creates a script for a powermenu
#+begin_src nix :tangle home/desktop/powermenu.nix :noweb tangle :mkdirp yes