From 3a92bc336eec808a5442ca1cf718e3a51faf47b5 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 28 Oct 2024 19:24:11 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(x11):=20Generate=20.xsession?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/default.nix | 2 ++ home/xsession/default.nix | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 home/xsession/default.nix diff --git a/home/default.nix b/home/default.nix index b9a6fb1..488bf55 100644 --- a/home/default.nix +++ b/home/default.nix @@ -7,6 +7,8 @@ home.username = "marley"; home.homeDirectory = "/home/marley"; + home.language.base = "en_US.UTF-8"; + # Tell nix what version it is. nix.package = pkgs.nix; diff --git a/home/xsession/default.nix b/home/xsession/default.nix new file mode 100644 index 0000000..388faba --- /dev/null +++ b/home/xsession/default.nix @@ -0,0 +1,16 @@ +{...}: { + xsession = { + enable = true; + + numlock.enable = true; + # TODO: Switch to autorandr + profileExtra = '' + sudo mount -a + "$HOME/.config/xrandr/desktop.sh" + setxkbmap -option "apple:alupckeys" + copyq & + mpd & + pidgin & + ''; + }; +}