Compare commits

...

9 Commits

Author SHA1 Message Date
bf22680dd2 Merge branch 'main' of https://git.syzygial.cc/Syzygial/NixMachines 2024-02-12 14:48:54 -05:00
4e7e2a7e70 Merge branch 'main' of https://git.syzygial.cc/Syzygial/NixMachines 2024-02-12 14:47:06 -05:00
668392976f Universeair: Yabai Don't Manage Python Figures 2024-02-12 14:00:42 -05:00
30bc9d7875 universeair: Launch Emacs not Client 2024-02-12 14:00:29 -05:00
29c6c7c94c Universeair: XQuartz 2024-02-12 14:00:21 -05:00
828c27b7b7 Remmina & Disable Emacs Daemon 2024-02-07 10:25:18 -05:00
universelaptop
5aa9d049c5 universeair: Fix shortcuts, add zoom 2024-02-04 13:58:57 -05:00
universelaptop
06b11be630 Add fonts 2024-01-30 12:43:34 -05:00
universelaptop
2dc4294190 Renamed Laptop 2024-01-30 12:43:23 -05:00
4 changed files with 22 additions and 16 deletions

View File

@@ -64,7 +64,7 @@
sops-nix.nixosModules.sops
];
};
darwinConfigurations."Universe-MacBook-Air" = nix-darwin.lib.darwinSystem {
darwinConfigurations."UniverseAir" = nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
specialArgs = {
inputs = attrs;

View File

@@ -43,6 +43,18 @@ in
};
};
fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [
julia-mono
bqn386
];
services.emacs = {
# Emacsclient behaving weirdly
# enable = true;
package = pkgs.mac-emacs;
};
environment.variables = {
EDITOR = "emacs";
};
@@ -58,10 +70,13 @@ in
texlive.combined.scheme-full
wget
xquartz
kitty
btop
remmina
cbqn-replxx
# Graphical Apps:
@@ -85,6 +100,8 @@ in
"nextcloud"
"tidal"
"bitwarden"
"zoom-for-it-admins"
"libreoffice"
];
# Apps to install outside of nix for when wanting to test/run
# things that... aren't used by other people who use nix, like

View File

@@ -2,8 +2,8 @@
services.skhd = {
enable = true;
skhdConfig = ''
cmd + shift - e : open ${pkgs.mac-emacs}/Applications/Emacs.app
cmd + shift + ctrl - e : open ${pkgs.kitty}/Applications/Kitty.app
cmd + shift - e : open '${pkgs.mac-emacs}/Applications/Emacs.app'
cmd + shift + ctrl - e : kitty -d ~ -1
'';
};
}

View File

@@ -9,6 +9,7 @@
];
services.yabai = {
enable = true;
enableScriptingAddition = true;
config = {
layout = "bsp";
focus_follows_mouse = "autofocus";
@@ -25,19 +26,7 @@
yabai -m rule --add app='System Settings' manage=off
yabai -m rule --add app='Boot Camp Assistant' manage=off
yabai -m rule --add app='System Information' manage=off
yabai -m rule --add title='^Figure' manage=off
'';
};
# https://github.com/IvarWithoutBones/dotfiles/blob/main/modules/darwin/yabai/default.nix
# The scripting addition needs root access to load, which we want to do automatically when logging in.
# Disable the password requirement for it so that a service can do so without user interaction.
environment.etc."sudoers.d/yabai-load-sa".text = ''
universelaptop ALL = (root) NOPASSWD: sha256:${builtins.hashFile "sha256" "${pkgs.yabai}/bin/yabai"} ${pkgs.yabai}/bin/yabai
'';
launchd.user.agents.yabai-load-sa = {
path = [ pkgs.yabai config.environment.systemPath ];
command = "/usr/bin/sudo ${pkgs.yabai}/bin/yabai --load-sa";
serviceConfig.RunAtLoad = true;
};
}