Resolve gpg woes
This commit is contained in:
parent
0e960995fb
commit
d42e570cd8
2 changed files with 8 additions and 8 deletions
|
@ -12,12 +12,7 @@
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, ... }:
|
outputs = { nixpkgs, home-manager, ... }:
|
||||||
let
|
let
|
||||||
homeManager = { system, specialArgs ? {
|
homeManager = { system, specialArgs ? { } }:
|
||||||
# Whether to install desktop-targeted tools and applications.
|
|
||||||
#
|
|
||||||
# (This primarily focuses around macOS - please use and adopt at your own risk.)
|
|
||||||
desktop = false;
|
|
||||||
} }:
|
|
||||||
home-manager.lib.homeManagerConfiguration {
|
home-manager.lib.homeManagerConfiguration {
|
||||||
modules = [
|
modules = [
|
||||||
./home/home.nix
|
./home/home.nix
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
{ config, lib, pkgs, specialArgs, ... }:
|
{ config, lib, pkgs, specialArgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
# Whether to install desktop-targeted tools and applications.
|
||||||
|
#
|
||||||
|
# (This primarily focuses around macOS - please use and adopt at your own risk.)
|
||||||
desktop = specialArgs.desktop or false;
|
desktop = specialArgs.desktop or false;
|
||||||
|
|
||||||
|
# Whether to configure various programs to leverage GPG.
|
||||||
gpg = specialArgs.gpg or false;
|
gpg = specialArgs.gpg or false;
|
||||||
in {
|
in {
|
||||||
# It's standard convention that Darwin has the username
|
# It's standard convention that Darwin has the username
|
||||||
|
@ -40,9 +45,9 @@ in {
|
||||||
./prompt.nix
|
./prompt.nix
|
||||||
]
|
]
|
||||||
# Primarily GUI applications for desktop usage
|
# Primarily GUI applications for desktop usage
|
||||||
++ (lib.optional (desktop) ./desktop.nix)
|
++ lib.optional (desktop) ./desktop.nix
|
||||||
# Configuration reliant on GPG keys being available
|
# Configuration reliant on GPG keys being available
|
||||||
++ (lib.optional (gpg) ./desktop.nix);
|
++ lib.optional (gpg) ./gpg.nix;
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
# This value determines the Home Manager release that your
|
||||||
# configuration is compatible with. This helps avoid breakage
|
# configuration is compatible with. This helps avoid breakage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue