Cleaned up sumo + splitting hyprland configs

This commit is contained in:
ari committed 2024-08-30 22:34:54 -04:00
1 parent 4ecf8b50b7
commit bc5adf74ff
40 files changed
+835 -361

No files matched your search

-71
View File
@@ -1,71 +0,0 @@
{ user }:
{ pkgs, ... }:
let
zshSumo = builtins.filterSource (p: t: true) ../configs/sumo;
zshScripts = zshSumo + "/scripts";
zshFunctions = zshSumo + "/functions.sh";
in
{
homebrew = {
enable = true;
brews = [
"autoconf"
"autoconf-archive"
"automake"
"cmake"
"ffmpeg"
"ninja"
"ccache"
"pkg-config"
"qt"
];
};
home-manager.users.${user.name} = {
home = {
packages = with pkgs; [
coreutils-prefixed
awscli2
kubernetes-helm
nixfmt-classic
nil
jq
pre-commit
devenv
terragrunt
oterm
];
shellAliases = {
k = "kubectl";
gradlew = "dev gradlew";
psh = "source $HOME/git/github/psh/psh.sh";
hcvault = "dev hcvault";
};
sessionVariables = {
"DOCKER_DEFAULT_PLATFORM" = "linux/amd64";
"SUMO_HOME" = "$HOME/git/sumo";
"_JAVA_OPTIONS" = "-Djava.awt.headless=true";
"LC_ALL" = "en_US.UTF-8";
"JAVA_HOME" = "/Library/Java/JavaVirtualMachines/amazon-corretto-8.jdk/Contents/Home";
};
sessionPath = [
"$HOME/.devcli/bin"
"$HOME/.krew/bin"
"$HOME/git/github/paas-infrastructure/bin"
"$HOME/.krew/bin"
# "$HOME/.rd/bin"
zshScripts
];
};
programs.zsh.initExtra = ''
source ${zshFunctions}
eval "$(/opt/homebrew/bin/brew shellenv)"
source /dev/stdin <<< "$($HOME/.devcli/dev --init)"
complete -o default -F __start_kubectl k
source <(helm completion zsh)
complete -C '/opt/homebrew/bin/aws_completer' aws
source <(kubectl completion zsh)
test -f ~/.prada/artifactory.env && source ~/.prada/artifactory.env
ulimit -n $(sysctl -n kern.maxfilesperproc)
'';
};
}
+4 -1
View File
@@ -12,7 +12,10 @@ in
skyg.nixos.desktop = {
enabled = true;
kde.enabled = true;
hyprland.enabled = true;
hyprland = {
enabled = true;
useNWG = true;
};
};
services.displayManager.defaultSession = "hyprland";
skyg.nixos.common.hardware.sound.enable = true;