44 lines
991 B
Nix
44 lines
991 B
Nix
{ config, pkgs, lib, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./boot-config.nix
|
|
./hardware-configuration.nix
|
|
../../sets/laptop.nix
|
|
../../sets/workstation.nix
|
|
../../sets/sshd.nix
|
|
inputs.nixos-hardware.nixosModules.pine64-pinebook-pro
|
|
];
|
|
|
|
networking.hostName = "mistmane";
|
|
|
|
home-manager.users.artemis = {
|
|
wayland.windowManager.sway.config = {
|
|
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 = "time"
|
|
format = "%Y-%m-%dT%H:%M:%S"
|
|
'';
|
|
};
|
|
services.logind = {
|
|
lidSwitch = lib.mkForce "lock";
|
|
extraConfig = lib.mkForce "HandlePowerKey=lock";
|
|
};
|
|
|
|
system.stateVersion = "21.11";
|
|
}
|