Compare commits
No commits in common. "f4a7ba1a5d676751e798a2fe28ed7228e7ba87d5" and "6c4749d81840ae7f551b80373be6b59c820e5625" have entirely different histories.
f4a7ba1a5d
...
6c4749d818
@ -1,9 +1,8 @@
|
||||
{...}:
|
||||
{
|
||||
imports = [
|
||||
./communication.nix
|
||||
./dev.nix
|
||||
./multimedia.nix
|
||||
./productivity.nix
|
||||
./communication.nix
|
||||
./dev.nix
|
||||
./multimedia.nix
|
||||
];
|
||||
}
|
||||
|
@ -1,17 +0,0 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
let
|
||||
cfg = config.nixfiles.packageSets.productivity;
|
||||
inherit (lib) optionals;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; optionals config.nixfiles.meta.graphical [
|
||||
libreoffice-fresh
|
||||
obsidian
|
||||
] ++ [
|
||||
pandoc
|
||||
];
|
||||
};
|
||||
|
||||
options.nixfiles.packageSets.productivity.enable = lib.mkEnableOption "the productivity package set";
|
||||
}
|
@ -19,7 +19,6 @@ in
|
||||
packageSets = {
|
||||
communication.enable = true;
|
||||
dev.enable = true;
|
||||
productivity.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -11,7 +11,6 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
services.syncthing = {
|
||||
enable = lib.mkDefault true;
|
||||
openDefaultPorts = lib.mkDefault true;
|
||||
user = lib.mkDefault "nullbite";
|
||||
dataDir = lib.mkDefault "/home/nullbite/Documents";
|
||||
configDir = lib.mkDefault "/home/nullbite/.config/syncthing";
|
||||
|
Loading…
x
Reference in New Issue
Block a user