mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2026-02-04 09:08:54 -05:00
Adding Packages
element-desktop prusa-slicer
This commit is contained in:
parent
eadf5150a3
commit
f3c643652f
4 changed files with 40 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||
nixpkgs-fmt.enable = true;
|
||||
vscode.enable = true;
|
||||
netbird.enable = true;
|
||||
element.enable = true;
|
||||
prusa-slicer.enable = true;
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@
|
|||
{
|
||||
imports = [
|
||||
./discord.nix
|
||||
./element.nix
|
||||
./firefox.nix
|
||||
./netbird.nix
|
||||
./prusa-slicer.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ...}:
|
||||
{
|
||||
options = {
|
||||
element = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable Element";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.element.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = [
|
||||
pkgs.element-desktop
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
prusa-slicer = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable Prusa Slicer";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.prusa-slicer.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = [
|
||||
pkgs.prusa-slicer
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue