From 146c39466bf31d881aae20214343d3bb623cb8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 18 Dec 2022 13:40:27 +0100 Subject: nixos/desktop: add CAD software --- nixos/modules/desktop.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index c737041..1f3ab71 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -5,14 +5,6 @@ let cnf = config.cynerd.desktop; - autologinScript = pkgs.writeText "login-program.sh" '' - if [[ "$(tty)" == '/dev/tty1' ]]; then - ${pkgs.shadow}/bin/login -f cynerd; - else - ${pkgs.shadow}/bin/login; - fi - ''; - in { options = { @@ -113,6 +105,12 @@ in { gnome-firmware gaphor + # CAD + freecad + kicad-with-packages3d + sweethome3d.application + qelectrotech + ] ++ (optionals cnf.laptop [ # Power management powertop -- cgit v1.2.3