chore: cleanup configs
This commit is contained in:
parent
12416bc448
commit
b202dc94f7
18 changed files with 493 additions and 332 deletions
|
|
@ -1,77 +1,77 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
#Disable nix managment, since we use nix-determinate
|
||||
nix.enable = false;
|
||||
#Disable nix managment, since we use nix-determinate
|
||||
nix.enable = false;
|
||||
|
||||
imports = [
|
||||
../../modules/homebrew.nix
|
||||
imports = [
|
||||
../../modules/homebrew.nix
|
||||
];
|
||||
homebrew = {
|
||||
enable = true;
|
||||
homebrew = {
|
||||
enable = true;
|
||||
|
||||
onActivation.autoUpdate = true;
|
||||
onActivation.upgrade = true;
|
||||
#onActivation.cleanup = "zap";
|
||||
onActivation.autoUpdate = true;
|
||||
onActivation.upgrade = true;
|
||||
#onActivation.cleanup = "zap";
|
||||
|
||||
brews = [
|
||||
"podman"
|
||||
];
|
||||
brews = [
|
||||
"podman"
|
||||
];
|
||||
|
||||
casks = [
|
||||
"arc"
|
||||
"bettermouse"
|
||||
"blender"
|
||||
"citrix-workspace"
|
||||
"cryptomator"
|
||||
"Discord"
|
||||
"Element"
|
||||
"ghostty"
|
||||
"IINA"
|
||||
"Keka"
|
||||
"meta"
|
||||
"mullvad-vpn"
|
||||
"obs"
|
||||
"Obsidian"
|
||||
"orion"
|
||||
"Secretive"
|
||||
"tailscale-app"
|
||||
"telegram"
|
||||
"UTM"
|
||||
"vscodium"
|
||||
];
|
||||
casks = [
|
||||
"arc"
|
||||
"bettermouse"
|
||||
"blender"
|
||||
"citrix-workspace"
|
||||
"cryptomator"
|
||||
"Discord"
|
||||
"Element"
|
||||
"ghostty"
|
||||
"IINA"
|
||||
"Keka"
|
||||
"meta"
|
||||
"mullvad-vpn"
|
||||
"obs"
|
||||
"Obsidian"
|
||||
"orion"
|
||||
"Secretive"
|
||||
"tailscale-app"
|
||||
"telegram"
|
||||
"UTM"
|
||||
"vscodium"
|
||||
];
|
||||
|
||||
masApps = {
|
||||
"Bitwarden" = 1352778147;
|
||||
"DropOver" = 1355679052;
|
||||
"Yubico Authenticator" = 1497506650;
|
||||
};
|
||||
};
|
||||
masApps = {
|
||||
"Bitwarden" = 1352778147;
|
||||
"DropOver" = 1355679052;
|
||||
"Yubico Authenticator" = 1497506650;
|
||||
};
|
||||
};
|
||||
|
||||
system.primaryUser = "duumxh";
|
||||
users.users.duumxh.home = "/Users/duumxh";
|
||||
system.primaryUser = "duumxh";
|
||||
users.users.duumxh.home = "/Users/duumxh";
|
||||
|
||||
security.pam.services.sudo_local.touchIdAuth = true;
|
||||
system.stateVersion = 5;
|
||||
system.defaults = {
|
||||
screencapture.type = "png";
|
||||
dock = {
|
||||
autohide = true;
|
||||
autohide-delay = 0.0;
|
||||
mineffect = "scale";
|
||||
minimize-to-application = true;
|
||||
mru-spaces = false;
|
||||
show-recents = false;
|
||||
tilesize = 40;
|
||||
};
|
||||
security.pam.services.sudo_local.touchIdAuth = true;
|
||||
system.stateVersion = 5;
|
||||
system.defaults = {
|
||||
screencapture.type = "png";
|
||||
dock = {
|
||||
autohide = true;
|
||||
autohide-delay = 0.0;
|
||||
mineffect = "scale";
|
||||
minimize-to-application = true;
|
||||
mru-spaces = false;
|
||||
show-recents = false;
|
||||
tilesize = 40;
|
||||
};
|
||||
|
||||
finder = {
|
||||
AppleShowAllFiles = true;
|
||||
AppleShowAllExtensions = true;
|
||||
ShowPathbar = true;
|
||||
ShowStatusBar = true;
|
||||
};
|
||||
};
|
||||
finder = {
|
||||
AppleShowAllFiles = true;
|
||||
AppleShowAllExtensions = true;
|
||||
ShowPathbar = true;
|
||||
ShowStatusBar = true;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -14,9 +14,16 @@
|
|||
../../modules/programs/zsh.nix
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
localVariables = {
|
||||
programs.ssh.matchBlocks."*".extraOptions = {
|
||||
SetEnv = "TERM=xterm-256color";
|
||||
};
|
||||
programs.zsh = {
|
||||
localVariables = {
|
||||
SSH_AUTH_SOCK = "/Users/duumxh/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh";
|
||||
};
|
||||
};
|
||||
};
|
||||
shellAliases = {
|
||||
nix-upgrade = "sudo darwin-rebuild switch --flake ~/Nix";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,18 +5,21 @@
|
|||
# NixOS-WSL specific options are documented on the NixOS-WSL repository:
|
||||
# https://github.com/nix-community/NixOS-WSL
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
wsl.defaultUser = "duumxh";
|
||||
wsl.interop.register = true;
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
users.users.duumxh = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
|
|
|||
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue