From 6c4b8ea7a71a2e043dcce4cd843c7268b89bd99d Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Tue, 5 Sep 2023 17:58:40 +0200 Subject: [PATCH] use Home Manager config variable --- modules/base.home.nix | 2 +- modules/git.home.nix | 2 +- modules/gnome-extensions.home.nix | 2 +- modules/nitrokey-ssh-gpg.home.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/base.home.nix b/modules/base.home.nix index a2ec9fb..303bfa0 100644 --- a/modules/base.home.nix +++ b/modules/base.home.nix @@ -9,7 +9,7 @@ # https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module home-manager.useGlobalPkgs = true; - home-manager.users.yoda = { pkgs, ... }: { + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { /* The home.stateVersion option does not have a default and must be set */ /* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */ home.stateVersion = "23.05"; diff --git a/modules/git.home.nix b/modules/git.home.nix index 728098d..9bd3b7f 100644 --- a/modules/git.home.nix +++ b/modules/git.home.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { - home-manager.users.yoda = { pkgs, ... }: { + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { # Git config using Home Manager modules programs.git = { diff --git a/modules/gnome-extensions.home.nix b/modules/gnome-extensions.home.nix index 2a788ee..68df781 100644 --- a/modules/gnome-extensions.home.nix +++ b/modules/gnome-extensions.home.nix @@ -9,7 +9,7 @@ programs.dconf.enable = true; - home-manager.users.yoda = { + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { dconf.settings = { # Enable GNOME extensions. "org/gnome/shell".enabled-extensions = [ pkgs.gnomeExtensions.caffeine.extensionUuid ]; diff --git a/modules/nitrokey-ssh-gpg.home.nix b/modules/nitrokey-ssh-gpg.home.nix index 6442305..82b80ed 100644 --- a/modules/nitrokey-ssh-gpg.home.nix +++ b/modules/nitrokey-ssh-gpg.home.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { - home-manager.users.yoda = { pkgs, ... }: { + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { programs.ssh = { enable = true;