update
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, username, ... }:
|
||||
let
|
||||
homeDirectory = "/Users/${username}";
|
||||
in
|
||||
{
|
||||
# If you also want to do e.g. Dock preferences from the same user-level file:
|
||||
system.defaults.dock = {
|
||||
autohide = true;
|
||||
orientation = "bottom";
|
||||
persistent-apps = [
|
||||
/Applications/Safari.app
|
||||
/Applications/Ghostty.app
|
||||
"/${pkgs.vscode}/Applications/Visual Studio Code.app" # Use the nixpkgs path to the app for apps installed via nix. This will automatically use the latest nix store path.
|
||||
"/Applications/Zen Browser.app"
|
||||
"/Applications/Vivaldi.app"
|
||||
"/Applications/Ghostty.app"
|
||||
"/Applications/Cursor.app"
|
||||
# Use the nixpkgs path to the app for apps installed via nix. This will automatically use the latest nix store path.
|
||||
"/${pkgs.lens}/Applications/Lens.app"
|
||||
"/${pkgs.slack}/Applications/Slack.app"
|
||||
"/${pkgs.discord}/Applications/Discord.app"
|
||||
@@ -16,16 +21,16 @@
|
||||
# Add your persistent apps here
|
||||
];
|
||||
persistent-others = [
|
||||
"~/code"
|
||||
"~/Downloads"
|
||||
"${homeDirectory}/code"
|
||||
"${homeDirectory}/Downloads"
|
||||
"${homeDirectory}/Applications/Home Manager Apps"
|
||||
# Add your persistent others here
|
||||
];
|
||||
show-recents = false;
|
||||
tilesize = 36; # Set the icon size on the dock; default is 64
|
||||
};
|
||||
|
||||
|
||||
system.defaults.NSGlobalDomain = {
|
||||
system.defaults.NSGlobalDomain = {
|
||||
AppleInterfaceStyle = "Dark"; # "Dark" or "Light" - Darkmode all the things
|
||||
# Add more NSGlobalDomain settings here
|
||||
};
|
||||
@@ -34,5 +39,5 @@ system.defaults.NSGlobalDomain = {
|
||||
GuestEnabled = false; # Disable guest account
|
||||
LoginwindowText = "Super Awesome Mac"; # Set login window text
|
||||
# Add more loginwindow settings here
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
};
|
||||
|
||||
system.keyboard = {
|
||||
swapLeftCtrlAndFn = true; # Swap left control and function keys
|
||||
swapLeftCtrlAndFn = false; # Swap left control and function keys
|
||||
enableKeyMapping = true; # Enable key mapping
|
||||
# Set up your keyboard preferences here
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user