mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-04 04:35:29 +00:00
feat(nix): move Nix configuration to root level
This commit is contained in:
14
hosts/mac-mini/configuration.nix
Normal file
14
hosts/mac-mini/configuration.nix
Normal 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
17
hosts/mac-mini/home.nix
Normal 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
|
||||
];
|
||||
}
|
||||
19
hosts/mac-mini/homebrew.nix
Normal file
19
hosts/mac-mini/homebrew.nix
Normal 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 = { };
|
||||
}
|
||||
Reference in New Issue
Block a user