From c2b8875fe09507e42f0301829b8cf38859ee61e3 Mon Sep 17 00:00:00 2001 From: MFlossmann Date: Sat, 11 May 2024 12:30:05 +0200 Subject: [PATCH] add graphic design packages --- hosts/remus/home.nix | 1 + modules/home/bundles/desktop.nix | 2 + modules/home/bundles/graphicDesign.nix | 15 +++++++ modules/home/features/syncthing.nix | 56 +++++++++++++------------- 4 files changed, 46 insertions(+), 28 deletions(-) create mode 100644 modules/home/bundles/graphicDesign.nix diff --git a/hosts/remus/home.nix b/hosts/remus/home.nix index 91f4009..9825ed4 100644 --- a/hosts/remus/home.nix +++ b/hosts/remus/home.nix @@ -39,6 +39,7 @@ bundles = { desktop.enable = true; maker.enable = true; + graphicDesign.enable = true; }; syncthing.enable = true; }; diff --git a/modules/home/bundles/desktop.nix b/modules/home/bundles/desktop.nix index 12e6e4a..f37f370 100644 --- a/modules/home/bundles/desktop.nix +++ b/modules/home/bundles/desktop.nix @@ -17,6 +17,8 @@ enable = true; }; + xserver.wacom.enable = true; + # TODO: fill this out (and move it in a service, probably) # services.syncthing = { # enable = true diff --git a/modules/home/bundles/graphicDesign.nix b/modules/home/bundles/graphicDesign.nix new file mode 100644 index 0000000..b6dc583 --- /dev/null +++ b/modules/home/bundles/graphicDesign.nix @@ -0,0 +1,15 @@ +{ + pkgs, + config, + lib, + inputs, + ... +}: { + imports = []; + + home.packages = with pkgs; [ + inkscape + gimp + krita + ]; +} diff --git a/modules/home/features/syncthing.nix b/modules/home/features/syncthing.nix index 9544e12..531cbd3 100644 --- a/modules/home/features/syncthing.nix +++ b/modules/home/features/syncthing.nix @@ -12,34 +12,34 @@ in { imports = []; - options = { - rootDir = lib.mkOption { - type = lib.types.path; - default = "/home/${cfg.myNixOS.sharedSettings.mainUser}/sync"; - }; - - remoteGui = lib.mkEnableOption "Enable port for remote WebGUI"; - }; - - services.syncthing = { - enable = true; - user = cfg.myNixOS.sharedSettings.mainUser; - dataDir = config.rootDir; - configDir = "/home/${cfg.myNixOS.sharedSettings.mainUser}/.config/syncthing"; - overrideDevices = true; - overrideFolders = true; - settings = { - devices = { - "saintAlphonso" = { id = saintAlphonsoID; }; - }; - folders = { - "KeepassXC" = { - path = "/home/${cfg.myNixOS.sharedSettings.mainUser}/KeepassXC"; - devices = [ "saintAlphonso" ]; - }; - }; - }; - }; + # options = { + # rootDir = lib.mkOption { + # type = lib.types.path; + # default = "/home/${cfg.myNixOS.sharedSettings.mainUser}/sync"; + # }; + # + # remoteGui = lib.mkEnableOption "Enable port for remote WebGUI"; + # }; + # + # services.syncthing = { + # enable = true; + # user = cfg.myNixOS.sharedSettings.mainUser; + # dataDir = config.rootDir; + # configDir = "/home/${cfg.myNixOS.sharedSettings.mainUser}/.config/syncthing"; + # overrideDevices = true; + # overrideFolders = true; + # settings = { + # devices = { + # "saintAlphonso" = { id = saintAlphonsoID; }; + # }; + # folders = { + # "KeepassXC" = { + # path = "/home/${cfg.myNixOS.sharedSettings.mainUser}/KeepassXC"; + # devices = [ "saintAlphonso" ]; + # }; + # }; + # }; + # }; # # Syncthing ports: 8384 for remote access to GUI # # 22000 TCP and/or UDP for sync traffic