From 22afbd90f953daf2edbbdc0c95c0349b8ea687ce Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Tue, 24 Dec 2024 15:58:45 -0500 Subject: [PATCH] Added emacs. Added Scala stuff. --- hosts/randolph/home.nix | 6 ++++++ snippets/emacs.nix | 6 ++++++ snippets/zsh.nix | 1 + 3 files changed, 13 insertions(+) create mode 100644 snippets/emacs.nix diff --git a/hosts/randolph/home.nix b/hosts/randolph/home.nix index 44c1d3a..4dc6ae3 100644 --- a/hosts/randolph/home.nix +++ b/hosts/randolph/home.nix @@ -9,6 +9,7 @@ rec { ../../snippets/zsh.nix ../../snippets/taskwarrior.nix ../../snippets/kakoune.nix + ../../snippets/emacs.nix ../../snippets/clifm.nix ../../snippets/git.nix ../../snippets/sway.nix @@ -80,6 +81,7 @@ rec { [ (python3.withPackages (ppkgs: with ppkgs;[ pyyaml python-lsp-server ])) ] ++ # I guess..... + [ coursier metals jdk23 scala scala-cli scalafmt ammonite sbt ] ++ # Scala [ kak-lsp brightnessctl @@ -157,6 +159,10 @@ rec { # }; # }; + # home.sessionPath = [ + # "$HOME/.local/share/coursier/bin" + # ]; + programs.swaylock = { enable = true; settings = { font-size = 14; }; diff --git a/snippets/emacs.nix b/snippets/emacs.nix new file mode 100644 index 0000000..4181885 --- /dev/null +++ b/snippets/emacs.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + programs.emacs = { + enable = true; + }; +} diff --git a/snippets/zsh.nix b/snippets/zsh.nix index 18830d0..b01c4cf 100644 --- a/snippets/zsh.nix +++ b/snippets/zsh.nix @@ -9,6 +9,7 @@ ''; profileExtra = '' export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor + . "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh" # If running from tty1 start sway # [ "$(tty)" = "/dev/tty1" ] && exec sway '';