This commit is contained in:
2025-08-03 20:02:48 +02:00
parent 55a090959d
commit c22eab800c
15 changed files with 4 additions and 515 deletions

View File

@@ -2,11 +2,6 @@
let
user = "cschmatzler";
# Define the content of your file as a derivation
myEmacsLauncher = pkgs.writeScript "emacs-launcher.command" ''
#!/bin/sh
emacsclient -c -n &
'';
sharedFiles = import ../shared/files.nix { inherit config pkgs; };
additionalFiles = import ./files.nix { inherit user config pkgs; };
in
@@ -54,7 +49,6 @@ in
file = lib.mkMerge [
sharedFiles
additionalFiles
{ "emacs-launcher.command".source = myEmacsLauncher; }
];
stateVersion = "23.11";
@@ -81,10 +75,6 @@ in
{ path = "/System/Applications/Photos.app/"; }
{ path = "/System/Applications/Photo Booth.app/"; }
{ path = "/System/Applications/System Settings.app/"; }
{
path = toString myEmacsLauncher;
section = "others";
}
{
path = "${config.users.users.${user}.home}/Downloads";
section = "others";