aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--lib/default.nix3
-rw-r--r--users/fcuny/default.nix5
-rw-r--r--users/fcuny/desktop/default.nix1
-rw-r--r--users/fcuny/trusted/default.nix (renamed from users/fcuny/desktop/trust/default.nix)0
-rw-r--r--users/fcuny/trusted/email.nix (renamed from users/fcuny/desktop/trust/email.nix)0
-rw-r--r--users/fcuny/trusted/git-pass-mapping.ini (renamed from users/fcuny/desktop/trust/git-pass-mapping.ini)0
-rw-r--r--users/fcuny/trusted/git.nix (renamed from users/fcuny/desktop/trust/git.nix)0
-rw-r--r--users/fcuny/trusted/pass.nix (renamed from users/fcuny/desktop/trust/pass.nix)0
-rw-r--r--users/fcuny/trusted/pgp.nix (renamed from users/fcuny/desktop/trust/pgp.nix)0
10 files changed, 7 insertions, 4 deletions
diff --git a/flake.nix b/flake.nix
index bfa867a..8762c80 100644
--- a/flake.nix
+++ b/flake.nix
@@ -51,12 +51,14 @@
system = "x86_64-linux";
hostname = "carmel";
isDesktop = true;
+ isTrusted = true;
};
"fcuny@aptos" = lib.mkHome {
username = "fcuny";
system = "x86_64-linux";
hostname = "aptos";
isDesktop = true;
+ isTrusted = true;
};
"fcuny@tahoe" = lib.mkHome {
username = "fcuny";
diff --git a/lib/default.nix b/lib/default.nix
index aa55942..bb1c30f 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -34,11 +34,12 @@
, system
, hostname
, isDesktop ? false
+ , isTrusted ? false
}:
inputs.home-manager.lib.homeManagerConfiguration {
inherit username system;
extraSpecialArgs = {
- inherit system hostname isDesktop;
+ inherit system hostname isDesktop isTrusted;
};
homeDirectory = "/home/${username}";
configuration = ../users/${username};
diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix
index 32145dd..cf70f50 100644
--- a/users/fcuny/default.nix
+++ b/users/fcuny/default.nix
@@ -1,7 +1,8 @@
-{ config, lib, pkgs, isDesktop, ... }:
+{ config, lib, pkgs, isDesktop, isTrusted, ... }:
{
- imports = [ ./cli ./devel ] ++ (if isDesktop then [ ./desktop ] else [ ]);
+ imports = [ ./cli ./devel ] ++ (if isDesktop then [ ./desktop ] else [ ])
+ ++ (if isTrusted then [ ./trusted ] else [ ]);
programs.home-manager.enable = true;
diff --git a/users/fcuny/desktop/default.nix b/users/fcuny/desktop/default.nix
index 106e5c9..7450444 100644
--- a/users/fcuny/desktop/default.nix
+++ b/users/fcuny/desktop/default.nix
@@ -9,7 +9,6 @@
./scanner-printer
./syncthing.nix
./terminal.nix
- ./trust
./wm
./xdg.nix
./theme.nix
diff --git a/users/fcuny/desktop/trust/default.nix b/users/fcuny/trusted/default.nix
index 575d3e6..575d3e6 100644
--- a/users/fcuny/desktop/trust/default.nix
+++ b/users/fcuny/trusted/default.nix
diff --git a/users/fcuny/desktop/trust/email.nix b/users/fcuny/trusted/email.nix
index 3bb6bd2..3bb6bd2 100644
--- a/users/fcuny/desktop/trust/email.nix
+++ b/users/fcuny/trusted/email.nix
diff --git a/users/fcuny/desktop/trust/git-pass-mapping.ini b/users/fcuny/trusted/git-pass-mapping.ini
index 5c5177b..5c5177b 100644
--- a/users/fcuny/desktop/trust/git-pass-mapping.ini
+++ b/users/fcuny/trusted/git-pass-mapping.ini
diff --git a/users/fcuny/desktop/trust/git.nix b/users/fcuny/trusted/git.nix
index 52607a3..52607a3 100644
--- a/users/fcuny/desktop/trust/git.nix
+++ b/users/fcuny/trusted/git.nix
diff --git a/users/fcuny/desktop/trust/pass.nix b/users/fcuny/trusted/pass.nix
index a552318..a552318 100644
--- a/users/fcuny/desktop/trust/pass.nix
+++ b/users/fcuny/trusted/pass.nix
diff --git a/users/fcuny/desktop/trust/pgp.nix b/users/fcuny/trusted/pgp.nix
index 79ed7dd..79ed7dd 100644
--- a/users/fcuny/desktop/trust/pgp.nix
+++ b/users/fcuny/trusted/pgp.nix