From fa4cfc0a25b7768961c92a3265cab294fa46bd61 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 21 Nov 2024 20:52:07 +0100 Subject: [PATCH] Remove references to username in home-manager config --- home-manager/default.nix | 11 ++--------- machines/gamepc/home.nix | 6 ++++++ machines/sue/home.nix | 6 ++++++ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/home-manager/default.nix b/home-manager/default.nix index a07c047..cce73d0 100644 --- a/home-manager/default.nix +++ b/home-manager/default.nix @@ -90,21 +90,13 @@ }; }; - home = { - username = "pim"; - homeDirectory = "/home/pim"; - stateVersion = "23.05"; - }; - programs = { home-manager.enable = true; bat.enable = true; git.delta = { enable = true; - options = { - syntax-theme = "gruvbox-dark"; - }; + options.syntax-theme = "gruvbox-dark"; }; fzf = { @@ -114,6 +106,7 @@ alacritty = { enable = true; + settings.shell = { program = lib.getExe config.programs.tmux.package; args = ["attach"]; diff --git a/machines/gamepc/home.nix b/machines/gamepc/home.nix index 5926195..248fbf4 100644 --- a/machines/gamepc/home.nix +++ b/machines/gamepc/home.nix @@ -1,4 +1,10 @@ {pkgs, ...}: { + home = { + username = "pim"; + homeDirectory = "/home/pim"; + stateVersion = "24.05"; + }; + home.packages = with pkgs.unstable; [ devenv vlc diff --git a/machines/sue/home.nix b/machines/sue/home.nix index 9310724..cc8ec71 100644 --- a/machines/sue/home.nix +++ b/machines/sue/home.nix @@ -15,6 +15,12 @@ programs.chromium.enable = true; + home = { + username = "pim"; + homeDirectory = "/home/pim"; + stateVersion = "23.05"; + }; + sops = { defaultSopsFile = ./home.sops.yaml; age.keyFile = "${config.xdg.configHome}/sops/age/keys.txt";