nixos-config/system/spike/default.nix

55 lines
1.3 KiB
Nix
Raw Normal View History

2023-12-11 06:29:24 +00:00
{ config, inputs, ... }:
2020-08-23 23:31:28 +00:00
{
2020-09-21 00:59:56 +00:00
imports = [
./boot-config.nix
./hardware-configuration.nix
../../sets/buildMachines.nix
2020-11-17 01:51:13 +00:00
../../sets/hacking.nix
2020-11-16 22:47:50 +00:00
../../sets/laptop.nix
2023-09-18 06:16:42 +00:00
../../sets/secureBoot.nix
2021-09-18 17:02:03 +00:00
../../sets/sshd.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";
2023-09-18 06:16:42 +00:00
system.stateVersion = "23.11";
2022-09-17 18:59:21 +00:00
2024-09-03 19:53:20 +00:00
nix.settings.trusted-users = [ "@wheel" ];
2023-10-19 00:02:04 +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]]
2023-12-11 06:29:24 +00:00
type = "local_time"
2023-12-13 02:03:33 +00:00
format = "%a %b %e %H:%M %Z"
2023-12-11 06:29:24 +00:00
geoip_path = "${config.artemist.geoip}"
2023-12-13 02:03:33 +00:00
fallback_zone = "America/New_York"
2023-12-11 06:29:24 +00:00
[[tile]]
type = "utc_time"
2023-12-13 02:03:33 +00:00
format = "%FT%TZ"
2023-10-19 00:02:04 +00:00
'';
2022-10-17 18:45:52 +00:00
2023-10-19 00:02:04 +00:00
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";
};
2022-09-17 18:59:21 +00:00
};
2023-10-19 00:02:04 +00:00
xdg.userDirs.music = "/media/µsd/Musik";
2022-09-17 18:59:21 +00:00
};
2020-08-23 23:31:28 +00:00
}