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
|
|
|
|
./secure-boot.nix
|
|
|
|
./hardware-configuration.nix
|
2020-12-18 06:10:48 +00:00
|
|
|
../../sets/buildMachines.nix
|
2022-03-25 02:43:30 +00:00
|
|
|
../../sets/hardware.nix
|
2020-11-17 01:51:13 +00:00
|
|
|
../../sets/hacking.nix
|
2020-11-16 22:47:50 +00:00
|
|
|
../../sets/laptop.nix
|
2021-06-13 21:35:33 +00:00
|
|
|
../../sets/1password.nix
|
2021-01-10 06:27:22 +00:00
|
|
|
../../sets/workstation.nix
|
2021-08-01 19:47:11 +00:00
|
|
|
../../sets/krb5.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 = {
|
|
|
|
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"; };
|
|
|
|
};
|
|
|
|
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
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2022-10-15 20:09:27 +00:00
|
|
|
# Not in nixos-hardware for some reason
|
|
|
|
hardware.opengl.extraPackages = with pkgs; [
|
|
|
|
intel-compute-runtime
|
|
|
|
];
|
|
|
|
|
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
|
|
|
}
|