summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-02-09 12:28:23 +0100
committerMike Vink <ivi@vinkies.net>2024-02-09 12:28:23 +0100
commitde08ce3b587b39c12ae7f8e3bae2029e2ad112c9 (patch)
treeac306ac20bc5372e842c620d194622cc1deeaae4
parenta71aa5e81eecccfe15a6b9aaa2300a944172751b (diff)
fixup
-rw-r--r--profiles/core/home.nix8
-rw-r--r--profiles/core/syncthing.nix3
2 files changed, 4 insertions, 7 deletions
diff --git a/profiles/core/home.nix b/profiles/core/home.nix
index 558c8e3..64a4297 100644
--- a/profiles/core/home.nix
+++ b/profiles/core/home.nix
@@ -1,13 +1,11 @@
- {
+{
+ machine,
lib,
config,
pkgs,
...
}: with lib; {
hm = {
- home.packages = with pkgs; [
- github-cli
- ];
fonts.fontconfig.enable = true;
# https://github.com/nix-community/home-manager/issues/4692
# home.file.".local/bin".source = config.lib.meta.mkMutableSymlink /mut/bin;
@@ -190,7 +188,7 @@
};
};
services.gpg-agent = {
- enable = !pkgs.stdenv.isDarwin;
+ enable = !machine.isDarwin;
enableSshSupport = true;
defaultCacheTtl = 34550000;
maxCacheTtl = 34550000;
diff --git a/profiles/core/syncthing.nix b/profiles/core/syncthing.nix
index ecb633c..ebccdb4 100644
--- a/profiles/core/syncthing.nix
+++ b/profiles/core/syncthing.nix
@@ -1,6 +1,5 @@
{lib,...}: with lib; {
- services.syncthing = {
+ hm.services.syncthing = {
enable = true;
- user = ivi.username;
};
}