From ec3c43a20ae848bcfcba39a2e06ee21fbf1c6cc8 Mon Sep 17 00:00:00 2001 From: Nathan Braswell Date: Mon, 27 Oct 2025 22:14:11 -0400 Subject: [PATCH] JJ config --- flake.nix | 2 +- home-manager/flake.nix | 2 +- home-manager/home.nix | 13 ++++++++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index cbbd425..096b77d 100644 --- a/flake.nix +++ b/flake.nix @@ -45,7 +45,7 @@ })); homeManagerSharedModule = { home-manager.useGlobalPkgs = true; - home-manager.users.nathan = ((import ./home-manager/home.nix) { username = "nathan"; homeDirectory = "/home/nathan"; }); + home-manager.users.nathan = ((import ./home-manager/home.nix) { username = "nathan"; homeDirectory = "/home/nathan"; backgroundImg = config.stylix.image }); }; commonConfigFunc = ({ config, lib, pkgs, modulesPath, ... }: (specificPkgs: { nixpkgs.config.allowUnfree = true; diff --git a/home-manager/flake.nix b/home-manager/flake.nix index a9cf70f..e67817f 100644 --- a/home-manager/flake.nix +++ b/home-manager/flake.nix @@ -27,7 +27,7 @@ # Specify your home configuration modules here, for example, # the path to your home.nix. modules = [ - ((import ./home.nix) { username = "nbraswell6"; homeDirectory = "/home/nbraswell6";}) + ((import ./home.nix) { username = "nbraswell6"; homeDirectory = "/home/nbraswell6"; backgroundImg = "/home/nbraswell6"; email = "nathan.braswell@gtri.gatech.edu"; }) #niri.nixosModules.niri niri.homeModules.niri ]; diff --git a/home-manager/home.nix b/home-manager/home.nix index f7b506d..933684b 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -1,4 +1,4 @@ -{ username, homeDirectory }: ({ config, pkgs, lib, ... }:{ +{ username, homeDirectory, backgroundImg, email }: ({ config, pkgs, lib, ... }:{ # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new Home Manager release introduces backwards @@ -102,7 +102,7 @@ }; spawn-at-startup = [ { command = [ "swww-daemon" ]; } - { command = [ "swww" "img" "${config.stylix.image}" ]; } + { command = [ "swww" "img" "${backgroundImg}" ]; } { command = [ "waybar" ]; } { command = [ "xwayland-satellite" ]; } ]; @@ -411,7 +411,14 @@ enable = true; lfs.enable = true; userName = "Nathan Braswell"; - userEmail = "nathan@braswell.email"; + userEmail = email; + }; + programs.jujutsu = { + enable = true; + settings.user = { + name = "Nathan Braswell"; + email = email; + }; }; programs.vim = { enable = true;