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`.
registry = {
nixpkgs.flake = inputs.nixpkgs;
stable.flake = inputs.stable;
};
# 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.
nixPath = [
"nixpkgs=/etc/nix/inputs/nixpkgs"
"stable=/etc/nix/inputs/stable"
];
};
# add entries for `nixPath` above.
environment.etc = {
"nix/inputs/nixpkgs".source = inputs.nixpkgs.outPath;
"nix/inputs/stable".source = inputs.stable.outPath;
};
# allow processes to request scheduling priority

View File

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

View File

@ -2,6 +2,7 @@
inherit (inputs) hyprland hyprpaper hyprland-hy3;
wrapper = pkgs.writeShellScriptBin "hyprland" ''
${impurity.link ./session.sh}
${config.hyprland-session.prerun}
${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 {
gaps_in = 3
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.
# 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.
@dbusenv@ --systemd PATH
dbus-update-activation-environment --systemd PATH

View File

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

View File

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