From 50ba75cdbb0f488d539c14da7fcbab6840764606 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Fri, 22 Sep 2023 12:32:13 +0200 Subject: [PATCH] Enable xrdp, replace exa with eza --- base.nix | 2 +- hosts/edison/desktop.nix | 9 +++++++++ hosts/worf/home.nix | 4 ++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/base.nix b/base.nix index f53f1b7..40d5b79 100644 --- a/base.nix +++ b/base.nix @@ -42,7 +42,7 @@ environment.systemPackages = with pkgs; [ bat bottom - exa + unstable.eza git gnugrep gnutar diff --git a/hosts/edison/desktop.nix b/hosts/edison/desktop.nix index 62292f8..cfdc64b 100644 --- a/hosts/edison/desktop.nix +++ b/hosts/edison/desktop.nix @@ -4,6 +4,8 @@ enable = true; desktopManager.xfce.enable = true; videoDrivers = [ "nvidia" ]; + layout = "us,no"; + xkbVariant = "intl"; }; services.picom.enable = true; hardware.opengl.enable = true; @@ -30,4 +32,11 @@ }) ]; }; + + # Remote: + services.xrdp = { + enable = true; + defaultWindowManager = "xfce4-session"; + openFirewall = true; + }; } diff --git a/hosts/worf/home.nix b/hosts/worf/home.nix index 19a521f..53ed850 100644 --- a/hosts/worf/home.nix +++ b/hosts/worf/home.nix @@ -13,7 +13,7 @@ bottom cocoapods emacs - exa + unstable.eza gnutar iterm2 ncdu @@ -29,7 +29,7 @@ programs.zsh = { shellAliases."rebuild" = "darwin-rebuild switch --flake /Users/felixalb/nix"; prezto.pmodules = [ "ssh" ]; - } + }; # Copy Applications to ~/Applications to allow them to be launched from Spotlight disabledModules = [ "targets/darwin/linkapps.nix" ];