diff options
| author | Grigory Shipunov | 2023-04-29 23:50:32 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2023-04-29 23:50:32 +0200 |
| commit | dc80560082eaed5125d2049a1017be8ff46814c0 (patch) | |
| tree | 8533cea22ecce91e7c20e976c8a23da5844c1874 | |
| parent | cb3beda6b0e984a31ae4d868c98d949691d6e87d (diff) | |
move common software into separate file
| -rw-r--r-- | modules/desktop-software.nix | 17 | ||||
| -rw-r--r-- | modules/gnome.nix | 12 | ||||
| -rw-r--r-- | modules/sway.nix | 24 |
3 files changed, 15 insertions, 38 deletions
diff --git a/modules/desktop-software.nix b/modules/desktop-software.nix index 4ebab68..659dd0e 100644 --- a/modules/desktop-software.nix +++ b/modules/desktop-software.nix @@ -1,17 +1,18 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ - tdesktop - fluffychat + blender dino - signal-desktop - inkscape + ffmpeg-full + firefox-wayland + fluffychat gimp - blender + inkscape kicad - wl-clipboard - firefox-wayland + signal-desktop + tdesktop tor-browser-bundle-bin - ffmpeg-full + wl-clipboard + yt-dlp ]; } diff --git a/modules/gnome.nix b/modules/gnome.nix index 8f7f592..c918eb9 100644 --- a/modules/gnome.nix +++ b/modules/gnome.nix @@ -1,22 +1,16 @@ { config, pkgs, ... }: { + imports = [ + ./desktop-software.nix + ]; environment.systemPackages = with pkgs; [ amberol celluloid - dino - firefox-wayland - fluffychat gnome-console gnome.gnome-boxes - gnome.gnome-terminal gnome.gnome-tweaks nextcloud-client - pulseaudioFull qbittorrent - screen-message - signal-desktop - tdesktop - wl-clipboard ]; environment.gnome.excludePackages = with pkgs; [ diff --git a/modules/sway.nix b/modules/sway.nix index fecf66f..d90e1d1 100644 --- a/modules/sway.nix +++ b/modules/sway.nix @@ -1,24 +1,12 @@ # General Desktop-related config { pkgs, ... }: { + imports = [ + ./desktop-software.nix + ]; environment.systemPackages = with pkgs; [ - firefox-wayland - wl-clipboard screen-message qbittorrent - dino - fluffychat - tdesktop - # (tdesktop.overrideAttrs (old: rec { - # version = "4.6.7"; - # src = fetchFromGitHub { - # owner = "forkgram"; - # repo = "tdesktop"; - # rev = "v${version}"; - # sha256 = "sha256-KMV/t3AC/kZQVz31UPYEKU/An6ycdsabZazUVCA9yIU="; - # }; - # })) - signal-desktop gajim imv swayimg @@ -36,12 +24,6 @@ bashmount (xfce.thunar.override { thunarPlugins = with xfce; [ thunar-volman thunar-archive-plugin ]; }) audacity - yt-dlp - tor-browser-bundle-bin - ffmpeg-full - gimp - inkscape - blender ]; #on the desktop, we need nice fonts ^^ |
