nixos-config/system/spike/default.nix

45 lines
1 KiB
Nix
Raw Normal View History

2022-05-10 20:44:45 +00:00
{ config, pkgs, inputs, ... }:
2020-08-23 23:31:28 +00:00
{
2020-09-21 00:59:56 +00:00
imports = [
./boot-config.nix
./hardware-configuration.nix
2020-11-17 01:51:13 +00:00
../../sets/hacking.nix
2020-11-16 22:47:50 +00:00
../../sets/laptop.nix
2021-09-18 17:02:03 +00:00
../../sets/sshd.nix
../../sets/buildMachines.nix
2021-01-10 06:27:22 +00:00
../../sets/workstation.nix
2022-05-10 20:44:45 +00:00
inputs.nixos-hardware.nixosModules.gpd-micropc
2020-09-21 00:59:56 +00:00
];
2020-08-23 23:31:28 +00:00
networking.hostName = "spike";
2022-09-17 18:59:21 +00:00
system.stateVersion = "22.05";
2022-10-17 18:45:52 +00:00
home-manager.users.artemis.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"
'';
2022-09-17 18:59:21 +00:00
home-manager.users.artemis.wayland.windowManager.sway.config = {
output."DSI-1" = { pos = "0 0"; mode = "720x1280@60.083Hz"; transform = "90"; };
input."24704:32865:AMR-4630-XXX-0-_0-1023_USB_KEYBOARD_Mouse" = {
scroll_method = "on_button_down";
scroll_button = "BTN_MIDDLE";
};
};
services.btrfs.autoScrub = {
enable = true;
fileSystems = [ "/" ];
};
2020-08-23 23:31:28 +00:00
}