nix-config/hosts/desktops/io.nix
2022-12-08 11:04:43 -03:00

44 lines
810 B
Nix

{ config, pkgs, lib, ... }:
{
imports = [
# Host-common imports
../common
# Desktop-common imports
./common
# Host-specific imports
./io
];
networking.hostName = "io";
nix.nixPath = [ "nixos-config=/home/user/Projects/nix-config/personal/hosts/desktops/io.nix" ];
zramSwap = {
enable = true;
memoryPercent = 100;
};
boot.kernelParams = [
"nosgx"
"i915.fastboot=1"
"mem_sleep_default=deep"
];
environment.systemPackages = with pkgs; [
gnome-network-displays
maliit-keyboard
rnote
write_stylus
];
services = {
kmonad = {
enable = true;
keyboards.internal = {
device = "/dev/input/by-path/platform-i8042-serio-0-event-kbd";
config = builtins.readFile ./io/kmonad.kbd;
};
};
};
}