1
0
forked from extern/zaneyos

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) inherit (import ../../options.nix)
browser cpuType gpuType browser cpuType gpuType
wallpaperDir borderAnim wallpaperDir borderAnim
theKBDLayout; theKBDLayout
theSecondKBDLayout;
in with lib; { in with lib; {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
@ -31,8 +32,10 @@ in with lib; {
layout = dwindle layout = dwindle
resize_on_border = true resize_on_border = true
} }
input { input {
kb_layout = ${theKBDLayout} kb_layout = ${theKBDLayout},${theSecondKBDLayout}
kb_options = grp:alt_shift_toggle
kb_options=caps:super kb_options=caps:super
follow_mouse = 1 follow_mouse = 1
touchpad { 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 = [ imports = [
./amd-gpu.nix ./amd-gpu.nix
./appimages.nix
./autorun.nix ./autorun.nix
./boot.nix ./boot.nix
./displaymanager.nix ./displaymanager.nix

View File

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

View File

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