2022-10-15 20:09:27 +00:00
|
|
|
{ config, pkgs, inputs, ... }:
|
2020-08-15 03:06:11 +00:00
|
|
|
|
|
|
|
{
|
2020-11-16 22:47:50 +00:00
|
|
|
imports = [
|
|
|
|
./boot-config.nix
|
|
|
|
./hardware-configuration.nix
|
2023-08-26 22:45:32 +00:00
|
|
|
../../sets/1password.nix
|
2020-12-18 06:10:48 +00:00
|
|
|
../../sets/buildMachines.nix
|
2020-11-17 01:51:13 +00:00
|
|
|
../../sets/hacking.nix
|
2023-08-26 22:45:32 +00:00
|
|
|
../../sets/hardware.nix
|
|
|
|
../../sets/krb5.nix
|
|
|
|
../../sets/laptop.nix
|
|
|
|
../../sets/secureBoot.nix
|
2022-11-04 01:13:11 +00:00
|
|
|
../../sets/virtualization.nix
|
2021-01-10 06:27:22 +00:00
|
|
|
../../sets/workstation.nix
|
2022-09-11 20:42:45 +00:00
|
|
|
inputs.nixos-hardware.nixosModules.common-cpu-intel
|
|
|
|
inputs.nixos-hardware.nixosModules.common-pc-laptop
|
|
|
|
inputs.nixos-hardware.nixosModules.common-pc-laptop-acpi_call
|
2020-08-15 03:27:08 +00:00
|
|
|
];
|
|
|
|
|
2021-08-01 19:47:11 +00:00
|
|
|
boot.supportedFilesystems = [ "nfs4" ];
|
|
|
|
|
2021-08-26 22:17:13 +00:00
|
|
|
# Home
|
|
|
|
home-manager.users.artemis = {
|
|
|
|
wayland.windowManager.sway.config = {
|
2023-08-26 23:00:18 +00:00
|
|
|
output."eDP-1" = {
|
|
|
|
mode = "3840x2400@59.994Hz";
|
|
|
|
scale = "2";
|
|
|
|
};
|
2021-08-26 22:17:13 +00:00
|
|
|
input."1386:18753:Wacom_HID_4941_Finger".map_to_output = "eDP-1";
|
2023-08-26 23:00:18 +00:00
|
|
|
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;
|
|
|
|
}];
|
2021-08-26 22:17:13 +00:00
|
|
|
};
|
|
|
|
xdg.configFile."rustybar/config.toml".text = ''
|
|
|
|
[[tile]]
|
|
|
|
type = "load"
|
|
|
|
[[tile]]
|
|
|
|
type = "memory"
|
|
|
|
[[tile]]
|
|
|
|
type = "hostname"
|
|
|
|
[[tile]]
|
|
|
|
type = "battery"
|
|
|
|
[[tile]]
|
|
|
|
type = "time"
|
2021-08-27 15:17:35 +00:00
|
|
|
format = "%Y-%m-%dT%H:%M:%S"
|
2021-08-26 22:17:13 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2023-08-26 23:00:18 +00:00
|
|
|
services.printing.drivers = with pkgs; [ cups-dymo ];
|
2023-08-26 22:18:06 +00:00
|
|
|
|
2022-10-15 20:09:27 +00:00
|
|
|
# Not in nixos-hardware for some reason
|
2023-08-26 23:00:18 +00:00
|
|
|
hardware.opengl.extraPackages = with pkgs; [ intel-compute-runtime ];
|
2022-10-15 20:09:27 +00:00
|
|
|
|
2022-09-11 20:42:45 +00:00
|
|
|
boot.blacklistedKernelModules = [ "psmouse" ];
|
2022-06-06 18:02:21 +00:00
|
|
|
services.thermald.enable = true;
|
2022-02-22 19:16:02 +00:00
|
|
|
|
2021-08-01 19:47:11 +00:00
|
|
|
networking.domain = "manehattan.artem.ist";
|
2020-11-16 22:47:50 +00:00
|
|
|
networking.hostName = "rainbowdash";
|
2020-08-15 03:27:08 +00:00
|
|
|
system.stateVersion = "20.03";
|
2020-08-15 03:06:11 +00:00
|
|
|
}
|