Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
moved selected xfce stuff from homemanager to system-level
- Loading branch information
Showing
4 changed files
with
121 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { pkgs ? import <nixpkgs> {} }: | ||
|
|
||
| with pkgs; | ||
|
|
||
| stdenv.mkDerivation { | ||
| pname = "xdu"; | ||
| version = "3.0"; | ||
|
|
||
| src = fetchFromGitHub { | ||
| owner = "vlasovskikh"; | ||
| repo = "xdu"; | ||
| rev = "d62444a199eb7ec21605d8960a7261affc37d2b4"; | ||
| hash = "sha256-h6X2Gx0/MUjIpkcxcFGuIFCS/+UKcW2kJE9hm0NDGNU="; | ||
| }; | ||
|
|
||
| nativeBuildInputs = with xorg; [ | ||
| imake | ||
| gccmakedep | ||
| ]; | ||
|
|
||
| buildInputs = with xorg; [ | ||
| libXt | ||
| libXaw | ||
| libXpm | ||
| libXext | ||
| ]; | ||
|
|
||
| configurePhase = '' | ||
| xmkmf | ||
| ''; | ||
|
|
||
| NIX_CFLAGS_COMPILE = [ | ||
| "-Wno-error=format-security" | ||
| ]; | ||
|
|
||
| installPhase = '' | ||
| mkdir -p $out/bin | ||
| cp xdu $out/bin/xdu | ||
| ''; | ||
| } | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| { config, pkgs, lib, ... }: | ||
| { | ||
|
|
||
| # NOTE: Home-manager related settings are in homemanager/xfce.nix | ||
|
|
||
| # Enable the XFCE Desktop Environment. | ||
| services.xserver.displayManager = { | ||
| lightdm.enable = true; | ||
|
|
||
| # auto-start a few apps on xfce startup: | ||
| sessionCommands = '' | ||
| autokey-gtk & | ||
| ''; | ||
| }; | ||
|
|
||
| services.xserver.desktopManager = { | ||
| xfce.enable = true; | ||
| }; | ||
|
|
||
|
|
||
| environment.systemPackages = with pkgs; [ | ||
|
|
||
| # ################################################################## | ||
| # xfce: this can't be in homemanager/xfce.nix because of: | ||
| redshift | ||
| xclip | ||
| xfce.xfce4-dict | ||
| autokey | ||
| gnome-icon-theme | ||
| dejavu_fonts | ||
| gentium | ||
| yanone-kaffeesatz | ||
| wmctrl | ||
| gnome.gnome-keyring | ||
| xfce.xfwm4-themes | ||
| xfce.thunar | ||
| xfce.thunar-volman | ||
| xfce.xfce4-appfinder | ||
| xfce.xfce4-clipman-plugin | ||
| xfce.xfce4-cpugraph-plugin | ||
| xfce.xfce4-eyes-plugin | ||
| xfce.xfce4-whiskermenu-plugin | ||
| xfce.xfce4-weather-plugin | ||
| xfce.xfce4-mailwatch-plugin | ||
| xfce.xfce4-netload-plugin | ||
| xfce.xfce4-notes-plugin | ||
| xfce.xfce4-notifyd | ||
| xfce.xfce4-power-manager | ||
| xfce.xfce4-pulseaudio-plugin | ||
| xfce.xfce4-screensaver | ||
| xfce.xfce4-screenshooter | ||
| xfce.xfce4-session | ||
| xfce.xfce4-settings | ||
| xfce.xfce4-systemload-plugin | ||
| xfce.xfce4-taskmanager | ||
| xfce.xfce4-terminal | ||
| xfce.xfce4-verve-plugin | ||
| emojione | ||
| rofi | ||
| brightnessctl | ||
| # libsForQt514.oxygen-icons5 ## 2022-11-06 broken | ||
| # ################################################################## | ||
|
|
||
| ]; | ||
|
|
||
| programs.xfconf.enable = true; | ||
|
|
||
| } |