feat: krita configuration
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
../../modules/home-manager/theme.nix
|
||||
../../modules/home-manager/programs/librewolf
|
||||
../../modules/home-manager/programs/krita
|
||||
../../modules/home-manager/packages/nixx.nix
|
||||
../../modules/home-manager/packages/nixi.nix
|
||||
./terminal.nix
|
||||
@@ -31,6 +32,8 @@
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
|
||||
krita.enable = true;
|
||||
|
||||
librewolf = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
|
||||
17
modules/home-manager/programs/krita/default.nix
Normal file
17
modules/home-manager/programs/krita/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.krita;
|
||||
in
|
||||
{
|
||||
imports = [ ];
|
||||
options.krita = with lib; with lib.types; {
|
||||
enable = mkEnableOption "";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [ krita ];
|
||||
|
||||
home.file."${config.xdg.configHome}/kritarc".source = ./kritarc;
|
||||
home.file."${config.xdg.configHome}/kritashortcutsrc".source = ./kritashortcutsrc;
|
||||
};
|
||||
}
|
||||
648
modules/home-manager/programs/krita/kritarc
Normal file
648
modules/home-manager/programs/krita/kritarc
Normal file
File diff suppressed because one or more lines are too long
4
modules/home-manager/programs/krita/kritashortcutsrc
Normal file
4
modules/home-manager/programs/krita/kritashortcutsrc
Normal file
@@ -0,0 +1,4 @@
|
||||
[Shortcuts]
|
||||
mirrorImageHorizontal=H
|
||||
mirrorImageVertical=V
|
||||
show_color_history=none
|
||||
Reference in New Issue
Block a user