diff options
author | Karel Kočí <cynerd@email.cz> | 2022-12-18 13:40:27 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-12-18 13:40:27 +0100 |
commit | 146c39466bf31d881aae20214343d3bb623cb8dd (patch) | |
tree | 1a4c6cbe18ea28a7bec1dd4fae2bb8d13da22fc1 /nixos | |
parent | 78e13fc7069875b6101b517fb0bff1fe72835cfb (diff) | |
download | nixos-personal-146c39466bf31d881aae20214343d3bb623cb8dd.tar.gz nixos-personal-146c39466bf31d881aae20214343d3bb623cb8dd.tar.bz2 nixos-personal-146c39466bf31d881aae20214343d3bb623cb8dd.zip |
nixos/desktop: add CAD software
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/desktop.nix | 14 |
1 files 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 |