Modularize flake

This commit is contained in:
Tobias Ostner 2023-09-18 22:31:41 +02:00
parent bfaf82d523
commit 55d5ad7e1e
3 changed files with 36 additions and 23 deletions

View file

@ -1,8 +1,11 @@
({ pkgs, ... }: {
programs.zsh.enable = true;
environment.shells = [ pkgs.bash pkgs.zsh pkgs.fish ];
environment.loginShell = pkgs.zsh;
environment.systemPath = [ "/opt/homebrew/bin" ];
environment = {
shells = with pkgs; [ bash zsh fish ];
loginShell = pkgs.zsh;
systemPath = [ "/opt/homebrew/bin" ];
pathsToLink = [ "/Applications" ];
};
fonts.fonts = [
(pkgs.nerdfonts.override {
fonts = [
@ -53,14 +56,16 @@
alt - m : yabai -m window --toggle zoom-fullscreen
'';
};
system.defaults.dock.autohide = true;
system.defaults.dock.mru-spaces = false;
system.defaults.dock.orientation = "right";
system.defaults.NSGlobalDomain.InitialKeyRepeat = 14;
system.defaults.NSGlobalDomain.KeyRepeat = 1;
system.defaults.finder.AppleShowAllExtensions = true;
system.defaults.finder.AppleShowAllFiles = true;
system.defaults.finder.CreateDesktop = false;
system.defaults = {
dock.autohide = true;
dock.mru-spaces = false;
dock.orientation = "right";
NSGlobalDomain.InitialKeyRepeat = 14;
NSGlobalDomain.KeyRepeat = 1;
finder.AppleShowAllExtensions = true;
finder.AppleShowAllFiles = true;
finder.CreateDesktop = false;
};
users.users.tobi.home = "/Users/tobi";
homebrew = {
enable = true;