Testing Appimages & added alternate keyboard layout

This commit is contained in:
Tyler Kelley 2024-02-06 02:26:07 -06:00
parent 601ae8ddcd
commit 23b54c9142
5 changed files with 20 additions and 3 deletions

View File

@ -6,7 +6,8 @@ let
inherit (import ../../options.nix)
browser cpuType gpuType
wallpaperDir borderAnim
theKBDLayout;
theKBDLayout
theSecondKBDLayout;
in with lib; {
wayland.windowManager.hyprland = {
enable = true;
@ -31,8 +32,10 @@ in with lib; {
layout = dwindle
resize_on_border = true
}
input {
kb_layout = ${theKBDLayout}
kb_layout = ${theKBDLayout},${theSecondKBDLayout}
kb_options = grp:alt_shift_toggle
kb_options=caps:super
follow_mouse = 1
touchpad {

View File

@ -0,0 +1,12 @@
{ pkgs, config, ... }:
{
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
}

View File

@ -3,6 +3,7 @@
{
imports = [
./amd-gpu.nix
./appimages.nix
./autorun.nix
./boot.nix
./displaymanager.nix

View File

@ -17,7 +17,7 @@ in {
pkg-config meson hugo gnumake ninja go nodejs symbola
noto-fonts-color-emoji material-icons brightnessctl
toybox virt-viewer jetbrains.pycharm-community-bin
swappy ripgrep
swappy ripgrep appimage-run
(pkgs.python3.withPackages my-python-packages)
];

View File

@ -17,6 +17,7 @@
# System Settings
theLocale = "en_US.UTF-8";
theKBDLayout = "us";
theSecondKBDLayout = "pl";
theLCVariables = "en_US.UTF-8";
theTimezone = "America/Chicago";
cpuType = "intel";