clean up
This commit is contained in:
parent
873026fc91
commit
1cb11aef59
5 changed files with 53 additions and 9 deletions
|
|
@ -68,6 +68,7 @@ in
|
||||||
# alt-enter = "exec-and-forget \"open -n -a /Applications/Slack.app\"";
|
# alt-enter = "exec-and-forget \"open -n -a /Applications/Slack.app\"";
|
||||||
|
|
||||||
alt-shift-f = "fullscreen";
|
alt-shift-f = "fullscreen";
|
||||||
|
alt-shift-q = "close --quit-if-last-window";
|
||||||
alt-space = "layout floating tiling";
|
alt-space = "layout floating tiling";
|
||||||
alt-e = "layout tiles horizontal vertical";
|
alt-e = "layout tiles horizontal vertical";
|
||||||
alt-t = "layout h_accordion";
|
alt-t = "layout h_accordion";
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
users.users.${user} = {
|
||||||
|
home = "/Users/${user}";
|
||||||
|
};
|
||||||
|
|
||||||
system.defaults = {
|
system.defaults = {
|
||||||
CustomUserPreferences = {
|
CustomUserPreferences = {
|
||||||
NSGlobalDomain = {
|
NSGlobalDomain = {
|
||||||
|
|
@ -106,7 +110,7 @@
|
||||||
mineffect = "scale";
|
mineffect = "scale";
|
||||||
minimize-to-application = true;
|
minimize-to-application = true;
|
||||||
mru-spaces = false;
|
mru-spaces = false;
|
||||||
orientation = "left";
|
orientation = "bottom";
|
||||||
show-recents = false;
|
show-recents = false;
|
||||||
wvous-br-corner = 1; # Disabled
|
wvous-br-corner = 1; # Disabled
|
||||||
};
|
};
|
||||||
|
|
@ -152,6 +156,7 @@
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
with pkgs;
|
with pkgs;
|
||||||
[
|
[
|
||||||
|
mas
|
||||||
vim
|
vim
|
||||||
htop
|
htop
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,12 @@
|
||||||
firefox = mkEnableOption "Enable Firefox";
|
firefox = mkEnableOption "Enable Firefox";
|
||||||
chromium = mkEnableOption "Enable Chromium";
|
chromium = mkEnableOption "Enable Chromium";
|
||||||
aldente = mkEnableOption "Enable AlDente";
|
aldente = mkEnableOption "Enable AlDente";
|
||||||
|
zotero = mkEnableOption "Enable Zotero";
|
||||||
|
amphetamine = mkEnableOption "Enable Amphetamine";
|
||||||
|
scroll-reverser = mkEnableOption "Enable Scroll Reverser";
|
||||||
|
ice = mkEnableOption "Enable Ice Menu Manager";
|
||||||
|
contexts = mkEnableOption "Enable Contexts";
|
||||||
|
forklift = mkEnableOption "Enable Forklift 4";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
|
|
@ -49,6 +55,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# mas apps
|
||||||
|
(lib.mkIf config.custom.brew.amphetamine {
|
||||||
|
homebrew.masApps = {
|
||||||
|
"Amphetamine" = 937984704;
|
||||||
|
};
|
||||||
|
})
|
||||||
|
# casks
|
||||||
(lib.mkIf config.custom.brew.zen-browser {
|
(lib.mkIf config.custom.brew.zen-browser {
|
||||||
homebrew.casks = [
|
homebrew.casks = [
|
||||||
"zen-browser"
|
"zen-browser"
|
||||||
|
|
@ -119,5 +132,30 @@
|
||||||
"aldente"
|
"aldente"
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
(lib.mkIf config.custom.brew.zotero {
|
||||||
|
homebrew.casks = [
|
||||||
|
"zotero"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
(lib.mkIf config.custom.brew.scroll-reverser {
|
||||||
|
homebrew.casks = [
|
||||||
|
"scroll-reverser"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
(lib.mkIf config.custom.brew.ice {
|
||||||
|
homebrew.casks = [
|
||||||
|
"jordanbaird-ice"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
(lib.mkIf config.custom.brew.contexts {
|
||||||
|
homebrew.casks = [
|
||||||
|
"contexts"
|
||||||
|
];
|
||||||
|
})
|
||||||
|
(lib.mkIf config.custom.brew.forklift {
|
||||||
|
homebrew.casks = [
|
||||||
|
"forklift"
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
self,
|
self,
|
||||||
user,
|
user,
|
||||||
dots,
|
dots,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
@ -86,6 +87,7 @@
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = system;
|
||||||
# add nixos-option workaround for flakes
|
# add nixos-option workaround for flakes
|
||||||
# https://github.com/NixOS/nixpkgs/issues/97855#issuecomment-1075818028
|
# https://github.com/NixOS/nixpkgs/issues/97855#issuecomment-1075818028
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [ ];
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = system;
|
|
||||||
|
|
||||||
users.users.${user} = {
|
|
||||||
home = "/Users/${user}";
|
|
||||||
};
|
|
||||||
|
|
||||||
custom = {
|
custom = {
|
||||||
aerospace.enable = true;
|
aerospace.enable = true;
|
||||||
|
|
@ -39,6 +32,11 @@
|
||||||
firefox = true;
|
firefox = true;
|
||||||
chromium = true;
|
chromium = true;
|
||||||
aldente = true;
|
aldente = true;
|
||||||
|
zotero = true;
|
||||||
|
amphetamine = true;
|
||||||
|
scroll-reverser = true;
|
||||||
|
ice = true;
|
||||||
|
contexts = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue