57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
./boot-config.nix
|
|
./hardware-configuration.nix
|
|
../../sets/laptop.nix
|
|
../../sets/sshd.nix
|
|
../../sets/workstation.nix
|
|
inputs.nixos-hardware.nixosModules.pine64-pinebook-pro
|
|
];
|
|
|
|
networking.hostName = "mistmane";
|
|
|
|
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]]
|
|
type = "local_time"
|
|
format = "%a %b %e %H:%M %Z"
|
|
geoip_path = "${config.artemist.geoip}"
|
|
fallback_zone = "America/New_York"
|
|
[[tile]]
|
|
type = "utc_time"
|
|
format = "%FT%TZ"
|
|
'';
|
|
};
|
|
services.logind = {
|
|
lidSwitch = lib.mkForce "lock";
|
|
extraConfig = lib.mkForce "HandlePowerKey=lock";
|
|
};
|
|
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
system.stateVersion = "21.11";
|
|
}
|