What seems to be a workable config
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{ config, pkgs, lib, home-manager, ... }:
|
||||
|
||||
let
|
||||
user = "%USER%";
|
||||
user = "olaf";
|
||||
# Define the content of your file as a derivation
|
||||
myEmacsLauncher = pkgs.writeScript "emacs-launcher.command" ''
|
||||
#!/bin/sh
|
||||
@ -73,19 +73,37 @@ in
|
||||
dock = {
|
||||
enable = true;
|
||||
entries = [
|
||||
{ path = "/System/Applications/Mail.app/"; }
|
||||
{ path = "/Applications/1Password.app/"; }
|
||||
{ path = "/Applications/Firefox.app/"; }
|
||||
{ path = "/Applications/Slack.app/"; }
|
||||
{ path = "/Applications/zoom.us.app/";
|
||||
options = " -l Zooom" ;
|
||||
}
|
||||
{ path = "/System/Applications/Messages.app/"; }
|
||||
{ path = "/System/Applications/Facetime.app/"; }
|
||||
{ path = "${pkgs.alacritty}/Applications/Alacritty.app/"; }
|
||||
{ path = "/System/Applications/Music.app/"; }
|
||||
{ path = "/System/Applications/News.app/"; }
|
||||
|
||||
{ path = "/Applications/iTerm.app/"; }
|
||||
{ path = "/Applications/Fantastical.app/"; }
|
||||
# { path = "${pkgs.alacritty}/Applications/Alacritty.app/"; }
|
||||
{ path = "/Applications/Spotify.app/"; }
|
||||
{ path = "/Applications/Safari.app/"; }
|
||||
{ path = "/System/Applications/Photos.app/"; }
|
||||
{ path = "/System/Applications/Photo Booth.app/"; }
|
||||
{ path = "/System/Applications/TV.app/"; }
|
||||
{ path = "/System/Applications/Home.app/"; }
|
||||
{ path = "/System/Applications/System Settings.app/"; }
|
||||
{ path = "/Applications/Jellyfin Media Player.app/";
|
||||
options= "-l Jellyfin";
|
||||
}
|
||||
{ path = "/Applications/Visual Studio Code.app/"; }
|
||||
{ path = "/Applications//Home Assistant.app/"; }
|
||||
{ path = "/Applications//Remarkable.app/"; }
|
||||
{
|
||||
path = "/Applications/";
|
||||
section = "others";
|
||||
options = "--sort name --view grid --display stack";
|
||||
}
|
||||
{
|
||||
path = toString myEmacsLauncher;
|
||||
section = "others";
|
||||
options = "-l EmacsLauncher";
|
||||
}
|
||||
{
|
||||
path = "${config.users.users.${user}.home}/.local/share/";
|
||||
@ -93,10 +111,12 @@ in
|
||||
options = "--sort name --view grid --display folder";
|
||||
}
|
||||
{
|
||||
path = "${config.users.users.${user}.home}/.local/share/downloads";
|
||||
# path = "${config.users.users.${user}.home}/.local/share/downloads";
|
||||
path = "${config.users.users.${user}.home}/Downloads";
|
||||
section = "others";
|
||||
options = "--sort name --view grid --display stack";
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user