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

View file

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

View file

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