chore: organise modules
Organise modules in a significantly better way with categories.
This commit is contained in:
parent
7444260d7d
commit
3660ef23f1
33 changed files with 77 additions and 76 deletions
54
modules/applications/darwin.nix
Normal file
54
modules/applications/darwin.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./default.nix ];
|
||||
|
||||
# dock
|
||||
system.defaults.dock.persistent-apps = [
|
||||
"/Applications/Firefox.app"
|
||||
"/Applications/Ghostty.app"
|
||||
"/Applications/Nix Apps/Spotify.app"
|
||||
"/Applications/Infuse.app"
|
||||
"/System/Applications/Messages.app"
|
||||
|
||||
"/Applications/Nix Apps/UTM.app"
|
||||
|
||||
"/System/Applications/Mail.app"
|
||||
"/Applications/Nix Apps/Obsidian.app"
|
||||
"/Applications/Nix Apps/KeePassXC.app"
|
||||
|
||||
"/Applications/OBS.app"
|
||||
"/Applications/Nix Apps/Audacity.app"
|
||||
"/Applications/Nix Apps/GNU Image Manipulation Program.app"
|
||||
"/Applications/Krita.app"
|
||||
"/Applications/Blender.app"
|
||||
"/Applications/OpenUTAU.app"
|
||||
];
|
||||
|
||||
# homebrew pkgs
|
||||
homebrew = {
|
||||
enable = true;
|
||||
onActivation.cleanup = "zap";
|
||||
casks = [
|
||||
"firefox"
|
||||
"ghostty"
|
||||
"krita"
|
||||
"blender"
|
||||
"obs"
|
||||
|
||||
"the-unarchiver"
|
||||
"battery"
|
||||
"linearmouse"
|
||||
"alt-tab"
|
||||
"easy-move+resize"
|
||||
"lulu"
|
||||
"rectangle"
|
||||
];
|
||||
masApps = {
|
||||
"Infuse" = 1136220934;
|
||||
};
|
||||
};
|
||||
|
||||
# hotkey daemon
|
||||
services.skhd.enable = true;
|
||||
}
|
||||
23
modules/applications/default.nix
Normal file
23
modules/applications/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
spotify
|
||||
gimp
|
||||
audacity
|
||||
obsidian
|
||||
keepassxc
|
||||
ani-cli
|
||||
] ++ lib.optionals pkgs.stdenv.isLinux (with pkgs; [
|
||||
mpv
|
||||
ghostty
|
||||
thunderbird
|
||||
krita
|
||||
openutau
|
||||
obs-studio
|
||||
blender
|
||||
]) ++ lib.optionals pkgs.stdenv.isDarwin (with pkgs; [
|
||||
iina
|
||||
utm
|
||||
]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue