2023-12-11 06:29:24 +00:00
|
|
|
{ config, lib, inputs, ... }:
|
2020-11-26 04:17:41 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2020-12-04 23:35:51 +00:00
|
|
|
./boot-config.nix
|
|
|
|
./hardware-configuration.nix
|
2024-01-23 18:15:11 +00:00
|
|
|
../../sets/aarch64-zboot.nix
|
2021-08-27 19:03:50 +00:00
|
|
|
../../sets/laptop.nix
|
2023-11-01 04:18:19 +00:00
|
|
|
../../sets/sshd.nix
|
2024-01-23 18:15:11 +00:00
|
|
|
../../sets/workstation.nix
|
2023-11-01 04:18:19 +00:00
|
|
|
inputs.nixos-hardware.nixosModules.pine64-pinebook-pro
|
2020-12-04 23:35:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "mistmane";
|
2021-08-26 18:06:46 +00:00
|
|
|
|
2021-08-27 19:03:50 +00:00
|
|
|
home-manager.users.artemis = {
|
2023-11-04 01:34:32 +00:00
|
|
|
programs.foot.enable = true;
|
2021-08-27 19:03:50 +00:00
|
|
|
wayland.windowManager.sway.config = {
|
2023-11-01 20:41:41 +00:00
|
|
|
terminal = lib.mkForce "foot";
|
2021-08-27 19:03:50 +00:00
|
|
|
input."9610:30:HAILUCK_CO.,LTD_USB_KEYBOARD_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"
|
|
|
|
battery = "cw2015-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"
|
2021-08-27 19:03:50 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
services.logind = {
|
|
|
|
lidSwitch = lib.mkForce "lock";
|
|
|
|
extraConfig = lib.mkForce "HandlePowerKey=lock";
|
|
|
|
};
|
|
|
|
|
2024-01-23 18:15:11 +00:00
|
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
2021-08-27 19:03:50 +00:00
|
|
|
system.stateVersion = "21.11";
|
2020-11-26 04:17:41 +00:00
|
|
|
}
|