Various uncommitted changes

This commit is contained in:
outfoxxed 2023-09-07 03:24:09 -07:00
parent da65f0f4a3
commit 6f9977ea69
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
7 changed files with 14 additions and 3 deletions

View file

@ -29,18 +29,21 @@
# this binds the nixpkgs registry to the one in `flake.nix`. # this binds the nixpkgs registry to the one in `flake.nix`.
registry = { registry = {
nixpkgs.flake = inputs.nixpkgs; nixpkgs.flake = inputs.nixpkgs;
stable.flake = inputs.stable;
}; };
# the nix path is used to discover channels for the old nix commands. # the nix path is used to discover channels for the old nix commands.
# this binds the nix path to the channels following `flake.nix` declared below. # this binds the nix path to the channels following `flake.nix` declared below.
nixPath = [ nixPath = [
"nixpkgs=/etc/nix/inputs/nixpkgs" "nixpkgs=/etc/nix/inputs/nixpkgs"
"stable=/etc/nix/inputs/stable"
]; ];
}; };
# add entries for `nixPath` above. # add entries for `nixPath` above.
environment.etc = { environment.etc = {
"nix/inputs/nixpkgs".source = inputs.nixpkgs.outPath; "nix/inputs/nixpkgs".source = inputs.nixpkgs.outPath;
"nix/inputs/stable".source = inputs.stable.outPath;
}; };
# allow processes to request scheduling priority # allow processes to request scheduling priority

View file

@ -41,7 +41,7 @@
custom-emacs = custom-emacs =
with newpkgs; with newpkgs;
((emacsPackagesFor (emacs-pgtk.override { withNativeCompilation = true; })).emacsWithPackages (epkgs: with epkgs; [ ((emacsPackagesFor (emacs29-pgtk.override { withNativeCompilation = true; })).emacsWithPackages (epkgs: with epkgs; [
avy avy
better-jumper better-jumper
company company
@ -56,6 +56,7 @@
flycheck flycheck
frames-only-mode frames-only-mode
fussy fussy
groovy-mode
just-mode just-mode
kotlin-mode kotlin-mode
lsp-mode lsp-mode

View file

@ -2,6 +2,7 @@
inherit (inputs) hyprland hyprpaper hyprland-hy3; inherit (inputs) hyprland hyprpaper hyprland-hy3;
wrapper = pkgs.writeShellScriptBin "hyprland" '' wrapper = pkgs.writeShellScriptBin "hyprland" ''
${impurity.link ./session.sh}
${config.hyprland-session.prerun} ${config.hyprland-session.prerun}
${hyprland.packages.${system}.default}/bin/Hyprland $@ ${hyprland.packages.${system}.default}/bin/Hyprland $@
''; '';

View file

@ -1,3 +1,5 @@
exec = systemctl start --user emacs.service && emacsclient -e "(setenv \"HYPRLAND_INSTANCE_SIGNATURE\" \"$HYPRLAND_INSTANCE_SIGNATURE\")"
general { general {
gaps_in = 3 gaps_in = 3
gaps_out = 5 gaps_out = 5

View file

@ -34,4 +34,4 @@ dbus-update-activation-environment --systemd MOZ_ENABLE_WAYLAND MOZ_DBUS_REMOTE
# QT_PLUGIN_PATH=<qt5ct>/lib/qt-ver/plugins + breeze will correctly set the theme. # QT_PLUGIN_PATH=<qt5ct>/lib/qt-ver/plugins + breeze will correctly set the theme.
# HOWEVER it won't find thumbnailers. For now the easiest way to deal with this, though definitely not # HOWEVER it won't find thumbnailers. For now the easiest way to deal with this, though definitely not
# the right one, is to just throw $PATH into dbus. # the right one, is to just throw $PATH into dbus.
@dbusenv@ --systemd PATH dbus-update-activation-environment --systemd PATH

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { { lib, pkgs, config, ... }: {
imports = [ imports = [
./core ./core
./theme ./theme
@ -43,4 +43,7 @@
# removable disks in file manager # removable disks in file manager
services.udisks2.enable = true; services.udisks2.enable = true;
programs.adb.enable = true;
users.users.${config.main-user}.extraGroups = [ "adbusers" ];
} }

View file

@ -3,6 +3,7 @@
rust-analyzer rust-analyzer
clang-tools_16 clang-tools_16
jdt-language-server jdt-language-server
kotlin-language-server
bear bear
gdb gdb