add graphic design packages
This commit is contained in:
parent
97511f3a44
commit
c2b8875fe0
4 changed files with 46 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
15
modules/home/bundles/graphicDesign.nix
Normal file
15
modules/home/bundles/graphicDesign.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
inkscape
|
||||
gimp
|
||||
krita
|
||||
];
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue