Compare commits

..

4 commits

Author SHA1 Message Date
c8b176751f more env 2020-10-28 22:50:27 +01:00
3b58151811 add thunar (works in 20.09) 2020-10-28 22:50:12 +01:00
745f613755 use systemd automount 2020-10-28 22:49:45 +01:00
c2406e4c7c use stable pkgs on nixos 20.09 2020-10-28 22:49:09 +01:00
3 changed files with 19 additions and 11 deletions

View file

@ -28,7 +28,7 @@ in {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
gtkUsePortal = true; gtkUsePortal = true;
extraPortals = with unstable; [ extraPortals = with pkgs; [
xdg-desktop-portal-gtk xdg-desktop-portal-gtk
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
]; ];
@ -83,6 +83,7 @@ in {
hicolor-icon-theme hicolor-icon-theme
numix-icon-theme numix-icon-theme
alacritty
imv imv
inkscape inkscape
libqrencode libqrencode
@ -97,7 +98,7 @@ in {
pulsemixer pulsemixer
wl-clipboard wl-clipboard
xdg_utils xdg_utils
unstable.alacritty xfce.thunar
unstable.keepassxc unstable.keepassxc
( (
pkgs.writeTextFile { pkgs.writeTextFile {
@ -107,11 +108,17 @@ in {
text = '' text = ''
#! ${pkgs.bash}/bin/bash #! ${pkgs.bash}/bin/bash
export GTK_ICON_THEME=Tango
export GTK_THEME=Blackbird
export _JAVA_AWT_WM_NOREPARENTING=1 export _JAVA_AWT_WM_NOREPARENTING=1
export MOZ_ENABLE_WAYLAND=1 export QT_AUTO_SCREEN_SCALE_FACTOR=0 export MOZ_ENABLE_WAYLAND=1
export QT_WAYLAND_FORCE_DPI=96 export MOZ_USE_XINPUT2=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_QPA_PLATFORM=wayland-egl export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_FORCE_DPI=96
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway ${pkgs.dbus}/bin/dbus-run-session ${pkgs.sway}/bin/sway
''; '';
@ -122,11 +129,6 @@ in {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
services.gvfs = {
enable = true;
package = lib.mkForce pkgs.gnome3.gvfs;
};
services.syncthing = { services.syncthing = {
enable = true; enable = true;
dataDir = "/home/stefan"; dataDir = "/home/stefan";

View file

@ -15,10 +15,10 @@ in {
unstable.gopls unstable.gopls
unstable.rust-analyzer unstable.rust-analyzer
emacs
ltrace
sops sops
tig tig
ltrace
unstable.emacs
openssl pkg-config nasm cmake zlib gcc binutils-unwrapped openssl pkg-config nasm cmake zlib gcc binutils-unwrapped
]; ];

View file

@ -14,4 +14,10 @@ in {
openscad openscad
kicad kicad
]; ];
fileSystems."/mnt/nfs" = {
device = "10.1.20.29:/srv/nfs";
fsType = "nfs";
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=120" ];
};
} }