feat(nix): move Nix configuration to root level

This commit is contained in:
Stefan Imhoff
2024-07-31 12:46:55 +02:00
parent ec67a98313
commit c5be8e73b6
224 changed files with 62 additions and 67 deletions

View File

@@ -0,0 +1,14 @@
{ pkgs, config, ... }:
{
imports = [
../../darwin
];
users.users.kogakure = {
name = "kogakure";
home = "/Users/kogakure";
};
homebrew = import ./homebrew.nix;
}

17
hosts/mac-mini/home.nix Normal file
View File

@@ -0,0 +1,17 @@
{ pkgs, ... }:
{
imports = [
../../home
];
# Services
services.yabai.enable = true;
services.skhd.enable = true;
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
discord # All-in-one cross-platform voice and text chat for gamers
];
}

View File

@@ -0,0 +1,19 @@
{
onActivation.cleanup = "uninstall";
taps = [ ];
brews = [ ];
casks = [
"ankerwork" # Webcam & audio device software
"daisydisk" # Disk space visualiser
"gemini" # Disk space cleaner that finds and deletes duplicated and similar files
"handbrake" # Open-source video transcoder. FIX: Broken on nixpks
"lbry" # Official client for LBRY, a decentralised file-sharing and payment network
"makemkv" # Video format converter (transcoder)
"protonvpn" # VPN client focusing on security
"raspberry-pi-imager" # # Imaging utility to install operating systems to a microSD card
"sweet-home3d" # Interior design application
"tor-browser" # Web browser focusing on security
"webtorrent" # Torrent streaming application
];
masApps = { };
}