nixos-config/system/mistmane/default.nix

51 lines
1.2 KiB
Nix
Raw Normal View History

2023-12-11 06:29:24 +00:00
{ config, lib, inputs, ... }:
{
imports = [
./boot-config.nix
./hardware-configuration.nix
../../sets/laptop.nix
2021-01-10 06:27:22 +00:00
../../sets/workstation.nix
2023-11-01 04:18:19 +00:00
../../sets/sshd.nix
inputs.nixos-hardware.nixosModules.pine64-pinebook-pro
];
networking.hostName = "mistmane";
2021-08-26 18:06:46 +00:00
home-manager.users.artemis = {
programs.foot.enable = true;
wayland.windowManager.sway.config = {
terminal = lib.mkForce "foot";
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"
'';
};
services.logind = {
lidSwitch = lib.mkForce "lock";
extraConfig = lib.mkForce "HandlePowerKey=lock";
};
system.stateVersion = "21.11";
}