From 5a8eabb91298216888b2f5e98669a5eafeaa1495 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 14 Dec 2024 16:05:23 -0500 Subject: [PATCH] homes: init aly@petalburg --- flake.nix | 6 ++- homes/aly/petalburg.nix | 81 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 81 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 7c9e9e42..1a112377 100644 --- a/flake.nix +++ b/flake.nix @@ -125,12 +125,13 @@ homeConfigurations = { "aly@petalburg" = self.inputs.home-manager.lib.homeManagerConfiguration { + extraSpecialArgs = {inherit self;}; pkgs = import self.inputs.nixpkgs {system = "x86_64-linux";}; modules = [ - self.inputs.stylix.homeManagerModules.stylix + self.homeManagerModules.aly-petalburg self.homeManagerModules.default - ./homes/aly/petalburg.nix + self.inputs.stylix.homeManagerModules.stylix ]; }; }; @@ -138,6 +139,7 @@ homeManagerModules = { default = import ./homeManagerModules self; aly = import ./homes/aly self; + aly-petalburg = import ./homes/aly/petalburg.nix self; dustin = import ./homes/dustin self; }; diff --git a/homes/aly/petalburg.nix b/homes/aly/petalburg.nix index 5d2a86ce..4297a3a9 100644 --- a/homes/aly/petalburg.nix +++ b/homes/aly/petalburg.nix @@ -1,15 +1,88 @@ -{...}: { +self: { + config, + pkgs, + ... +}: { home = { - stateVersion = "24.11"; + homeDirectory = "/var/home/aly"; + + packages = with pkgs; [ + fractal + vesktop + ]; + + stateVersion = "25.05"; username = "aly"; - homeDirectory = "/var/home/aly/"; + }; + + programs.home-manager.enable = true; + + stylix = { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; + image = "${self.inputs.wallpapers}/wallhaven-yxdrex.png"; + imageScalingMode = "fill"; + polarity = "dark"; + + cursor = { + package = pkgs.kdePackages.breeze; + name = "breeze_cursors"; + size = 24; + }; + + fonts = { + monospace = { + name = "CaskaydiaCove Nerd Font"; + package = pkgs.nerd-fonts.caskaydia-cove; + }; + + sansSerif = { + name = "UbuntuSans Nerd Font"; + package = pkgs.nerd-fonts.ubuntu-sans; + }; + + serif = { + name = "Source Serif Pro"; + package = pkgs.source-serif-pro; + }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; + }; + + opacity = { + applications = 1.0; + desktop = 0.8; + terminal = 0.8; + popups = 0.8; + }; + + targets.gtk.enable = true; + }; + + targets.genericLinux.enable = true; + + xdg = { + enable = true; + mime.enable = true; + + systemDirs = { + data = ["${config.home.homeDirectory}/.local/share/flatpak/exports/share"]; + config = ["/etc/xdg"]; + }; }; ar.home = { apps = { + chromium.enable = true; shell.enable = true; vsCodium.enable = true; - fastfetch.enable = true; }; + + desktop.kde.enable = true; }; }