nixos-config/system/rainbowdash/default.nix

68 lines
1.8 KiB
Nix

{ config, pkgs, inputs, ... }:
{
imports = [
./boot-config.nix
./hardware-configuration.nix
../../sets/1password.nix
../../sets/buildMachines.nix
../../sets/hacking.nix
../../sets/hardware.nix
../../sets/ime.nix
../../sets/krb5.nix
../../sets/laptop.nix
../../sets/secureBoot.nix
../../sets/virtualization.nix
../../sets/workstation.nix
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call
];
boot.supportedFilesystems = [ "nfs4" ];
# Home
home-manager.users.artemis = {
wayland.windowManager.sway.config = {
output."eDP-1" = {
mode = "3840x2400@59.994Hz";
scale = "2";
};
input."1386:18753:Wacom_HID_4941_Finger".map_to_output = "eDP-1";
input."1739:52710:DLL096D:01_06CB:CDE6_Touchpad" = {
middle_emulation = "enabled";
click_method = "clickfinger";
};
startup = [{
command = "swayidle -w before-sleep 'light -O' after-resume 'light -I'";
always = true;
}];
};
xdg.configFile."rustybar/config.toml".text = ''
[[tile]]
type = "load"
[[tile]]
type = "memory"
[[tile]]
type = "hostname"
[[tile]]
type = "battery"
[[tile]]
type = "time"
format = "%Y-%m-%dT%H:%M:%S"
'';
};
services.printing.drivers = with pkgs; [ cups-dymo ];
# Not in nixos-hardware for some reason
hardware.opengl.extraPackages = with pkgs; [ intel-compute-runtime ];
boot.blacklistedKernelModules = [ "psmouse" ];
services.thermald.enable = true;
networking.domain = "manehattan.artem.ist";
networking.hostName = "rainbowdash";
system.stateVersion = "20.03";
}