feat: update azalea system settings; install packages; import modules; etc

This commit is contained in:
ahwx 2026-02-10 11:34:49 +01:00
parent 65b895488a
commit 5e88ba467e

View file

@ -1,35 +1,51 @@
{ username, ... }: {
pkgs,
inputs,
self,
...
}:
{ {
imports = [ imports = [
#./hardware-configuration.nix # ./../../modules/core/homebrew.nix
#./../../modules/core ./../../modules/core/user.nix
./../../modules/core/skhd.nix
./../../modules/core/yabai.nix
#./../../modules/core/virtualization.nix #./../../modules/core/virtualization.nix
#./../../modules/services/tailscale.nix #./../../modules/services/tailscale.nix
#./../../modules/services/mpd.nix #./../../modules/services/mpd.nix
#./../../modules/services/smart-monitoring.nix
#./../../modules/services/mullvad.nix
#./../../modules/home/steam.nix
#./../../modules/services/ollama.nix
#./../../modules/services/automount.nix
]; ];
environment.systemPackages = [ security.pam.services.sudo_local.touchIdAuth = true;
pkgs.vim
];
security.pam.enableSudoTouchIdAuth = true;
system.primaryUser = username;
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
# system.configurationRevision = self.rev or self.dirtyRev or null;
system.configurationRevision = self.rev or self.dirtyRev or null; system = {
primaryUser = "liv";
system.stateVersion = 6; stateVersion = 6;
defaults = {
dock = {
autohide = true;
mru-spaces = false;
show-recents = false;
# showHidden = true;
};
finder = {
AppleShowAllExtensions = true;
FXPreferredViewStyle = "clmv";
};
iCal."first day of week" = "Monday";
screencapture.include-date = true;
screencapture.type = "png";
spaces.spans-displays = true;
};
};
nixpkgs.hostPlatform = "aarch64-darwin"; nixpkgs.hostPlatform = "aarch64-darwin";
homebrew = { homebrew = {
enable = true; enable = true;
#taps = {
# "homebrew/homebrew-core" = inputs.homebrew-core;
# "homebrew/homebrew-cask" = inputs.homebrew-cask;
#};
onActivation = { onActivation = {
autoUpdate = true; autoUpdate = true;
cleanup = "uninstall"; cleanup = "uninstall";
@ -39,16 +55,58 @@
caskArgs = { caskArgs = {
no_quarantine = true; no_quarantine = true;
}; };
brews = [
"imagemagick"
"virt-manager"
];
casks = [ casks = [
"qbittorrent"
"libreoffice" "libreoffice"
"signal" "signal"
"handbrake"
"tailscale"
"ungoogled-chromium" "ungoogled-chromium"
# "orca-slicer" # "orca-slicer"
"element" "element"
"raycast" "raycast"
"anki" "anki"
"kitty"
"spotify"
"nextcloud"
"handbrake-app"
"tailscale-app"
"ungoogled-chromium"
"karabiner-elements"
"bitwarden"
"gimp"
"betterdisplay"
"mullvad-vpn"
"maccy"
"spotmenu"
];
};
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
# imports = [ ../flake/modules/home/zsh.nix ];
environment.systemPackages = [
pkgs.vim
inputs.nixvim.packages.${pkgs.system}.default
pkgs.lazygit
pkgs.eza
pkgs.exiftool
pkgs.fzf
];
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
"olm-3.2.16"
"libsoup-2.74.3"
];
overlays = [
self.overlays.default
inputs.nur.overlay
inputs.nixocaine.overlays.default
]; ];
}; };
} }