From 6e073687a5a72f915c2f55e2fd5cd2eabd99fcf2 Mon Sep 17 00:00:00 2001 From: osbm Date: Tue, 9 Sep 2025 14:20:23 +0300 Subject: [PATCH] home configuration shenanigans --- darwinHosts/prometheus/configuration.nix | 3 +++ home/home.nix | 9 ++++++--- modules/home.nix | 4 ++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/darwinHosts/prometheus/configuration.nix b/darwinHosts/prometheus/configuration.nix index 7df4225..d4752ba 100644 --- a/darwinHosts/prometheus/configuration.nix +++ b/darwinHosts/prometheus/configuration.nix @@ -14,6 +14,9 @@ backupFileExtension = "hmbak"; users.osbm = import ../../home/home.nix { inherit config pkgs; + username = "mac"; + homeDirectory = "/Users/mac"; + stateVersion = "24.11"; }; }; diff --git a/home/home.nix b/home/home.nix index 103f3dd..300ce30 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1,4 +1,7 @@ { + username, + homeDirectory, + stateVersion, config, pkgs, ... @@ -22,14 +25,14 @@ ./zoxide.nix ]; - home.username = "osbm"; - home.homeDirectory = "/home/osbm"; + home.username = username; + home.homeDirectory = homeDirectory; home.packages = [ pkgs.lazygit ]; - home.stateVersion = config.system.stateVersion; + home.stateVersion = stateVersion; enableGTK = config.myModules.enableKDE; enableFirefox = config.myModules.enableKDE; diff --git a/modules/home.nix b/modules/home.nix index 3450737..5fbf391 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -15,6 +15,10 @@ backupFileExtension = "hmbak"; users.osbm = import ../home/home.nix { inherit config pkgs; + # fuck you macos + username = "osbm"; + homeDirectory = "/home/osbm"; + inherit (config.system) stateVersion; }; }; }