formatting

This commit is contained in:
mjallen18
2024-05-31 16:11:42 -05:00
parent 4aead74c7f
commit 29ec754b2f
82 changed files with 1521 additions and 974 deletions

View File

@@ -4,34 +4,32 @@
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages =
[
pkgs.vim
pkgs.asitop
];
environment.systemPackages = [
pkgs.vim
pkgs.asitop
];
# Homebrew
homebrew.enable = true;
homebrew.casks =
[
"spotify"
"protonvpn"
"firefox"
"discord"
"vmware-horizon-client"
"tg-pro"
"steam"
"orcaslicer"
"vscodium"
"epic-games"
"wine-stable"
homebrew.casks = [
"spotify"
"protonvpn"
"firefox"
"discord"
"vmware-horizon-client"
"tg-pro"
"steam"
"orcaslicer"
"vscodium"
"epic-games"
"wine-stable"
];
homebrew.masApps = {
# Tailscale = 1475387142;
# Infuse = 1136220934;
# Tailscale = 1475387142;
# Infuse = 1136220934;
Amphetamine = 937984704;
# LunaTask = 1583719331;
# LunaTask = 1583719331;
};
homebrew.global.autoUpdate = true;
@@ -42,7 +40,6 @@
system.defaults.NSGlobalDomain."com.apple.keyboard.fnState" = false;
security.pam.enableSudoTouchIdAuth = true;
# Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true;
# nix.package = pkgs.nix;
@@ -65,7 +62,7 @@
nixpkgs.hostPlatform = "aarch64-darwin";
users.users.mattjallen = {
name = "mattjallen";
home = "/Users/mattjallen";
name = "mattjallen";
home = "/Users/mattjallen";
};
}
}

View File

@@ -1,4 +1,9 @@
{ config, pkgs, inputs, ... }:
{
config,
pkgs,
inputs,
...
}:
{
imports = [ ./trampoline-apps ];
@@ -17,8 +22,8 @@
# changes in each release.
home.stateVersion = "23.11";
programs= {
# Let Home Manager install and manage itself.
programs = {
# Let Home Manager install and manage itself.
home-manager = {
enable = true;
};
@@ -47,5 +52,5 @@
};
# Manage bug in compilations - who uses manpages in 2024 anyways? :P
manual.manpages.enable = false;
}
manual.manpages.enable = false;
}

View File

@@ -6,7 +6,8 @@
pkgs,
...
}:
with lib; {
with lib;
{
config = mkIf pkgs.stdenv.hostPlatform.isDarwin {
# Install MacOS applications to the user Applications folder. Also update Docked applications
home.extraActivationPath = with pkgs; [
@@ -14,11 +15,11 @@ with lib; {
dockutil
gawk
];
home.activation.trampolineApps = hm.dag.entryAfter ["writeBoundary"] ''
home.activation.trampolineApps = hm.dag.entryAfter [ "writeBoundary" ] ''
${builtins.readFile ./lib-bash/trampoline-apps.sh}
fromDir="$HOME/Applications/Home Manager Apps"
toDir="$HOME/Applications/Home Manager Trampolines"
sync_trampolines "$fromDir" "$toDir"
'';
};
}
}