What seems to be a workable config

This commit is contained in:
Olaf
2025-05-07 11:46:07 +02:00
parent fbd41a72f1
commit 62d004a6a2
13 changed files with 638 additions and 62 deletions

View File

@ -4,23 +4,48 @@ _:
# Development Tools
"homebrew/cask/docker"
"visual-studio-code"
"iterm2"
# Creatative tools
"spotify"
"blender"
"gimp"
"inkscape"
"vcv-rack"
# Communication Tools
"discord"
"notion"
"slack"
"telegram"
"signal"
"whatsapp"
"zoom"
"webex"
# Utility Tools
"syncthing"
"blackhole-16ch"
"blackhole-2ch"
"box-drive"
"synology-drive"
"spamsieve"
# Entertainment Tools
"vlc"
"jellyfin-media-player"
# Productivity Tools
"raycast"
"1Password"
"zotero"
"gpg-suite"
"home-assistant"
"Fantastical"
"Remarkable"
# Browsers
"google-chrome"
"firefox"
]

View File

@ -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";
}
];
};
};

View File

@ -1,6 +1,6 @@
{ config, pkgs, agenix, secrets, ... }:
let user = "%USER%"; in
let user = "olaf"; in
{
age.identityPaths = [
"/Users/${user}/.ssh/id_ed25519"

View File

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
user = "%USER%";
user = "olaf";
xdg_configHome = "/home/${user}/.config";
shared-programs = import ../shared/home-manager.nix { inherit config pkgs lib; };
shared-files = import ../shared/files.nix { inherit config pkgs; };

View File

@ -1,6 +1,6 @@
{ config, pkgs, agenix, secrets, ... }:
let user = "%USER%"; in
let user = "olaf"; in
{
age.identityPaths = [
"/home/${user}/.ssh/id_ed25519"

View File

@ -4,7 +4,7 @@ let
emacsOverlaySha256 = "06413w510jmld20i4lik9b36cfafm501864yq8k4vxl5r4hn0j0h";
in
{
home-manager.backupFileExtension = "nix-backup";
nixpkgs = {
config = {
allowUnfree = true;

View File

@ -1,8 +1,7 @@
{ config, pkgs, lib, ... }:
let name = "%NAME%";
user = "%USER%";
email = "%EMAIL%"; in
let name = "olaf";
user = "olaf";
email = "github@dacht.net"; in
{
# Shared shell configuration
zsh = {
@ -270,12 +269,14 @@ let name = "%NAME%";
)
];
matchBlocks = {
"Host *" = {
identityAgent="\"~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock\"";
};
"github.com" = {
identitiesOnly = true;
identityFile = [
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux
"/home/${user}/.ssh/id_github"
)
"/home/${user}/.ssh/id_github" )
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin
"/Users/${user}/.ssh/id_github"
)

View File

@ -2,7 +2,7 @@
with pkgs; [
# General packages for development and system management
alacritty
#alacritty
aspell
aspellDicts.en
bash-completion
@ -15,6 +15,9 @@ with pkgs; [
sqlite
wget
zip
htop
ncdu
nixfmt-rfc-style
# Encryption and security tools
age
@ -58,4 +61,7 @@ with pkgs; [
# Python packages
python3
virtualenv
# Development
]