mirror of
https://github.com/librephoenix/nixos-config
synced 2025-12-01 15:14:01 +05:30
Updated system
This commit is contained in:
parent
ab7221fba9
commit
6f52c1d453
8 changed files with 312 additions and 264 deletions
|
|
@ -1,8 +1,15 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
pkgs-stable,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.userSettings.art;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
userSettings.art = {
|
||||
enable = lib.mkEnableOption "Enable art apps";
|
||||
|
|
@ -10,7 +17,7 @@ in {
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
home.packages = with pkgs-stable; [
|
||||
krita
|
||||
pinta
|
||||
inkscape
|
||||
|
|
@ -22,7 +29,7 @@ in {
|
|||
];
|
||||
userSettings.blender.enable = true;
|
||||
xdg.mimeApps.defaultApplications = lib.mkForce {
|
||||
"image/svg+xml" = ["org.inkscape.Inkscape.desktop"];
|
||||
"image/svg+xml" = [ "org.inkscape.Inkscape.desktop" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue