nixos-config/system/mistmane/default.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2022-06-09 19:16:28 +00:00
{ config, pkgs, lib, inputs, ... }:
{
imports = [
./boot-config.nix
./hardware-configuration.nix
../../sets/laptop.nix
2021-01-10 06:27:22 +00:00
../../sets/workstation.nix
2022-06-09 19:16:28 +00:00
"${inputs.wip-pinebook-pro}/pinebook_pro.nix"
];
networking.hostName = "mistmane";
2021-08-26 18:06:46 +00:00
home-manager.users.artemis = {
programs.foot = {
enable = true;
settings.main = {
shell = "/run/current-system/sw/bin/fish";
font = "Fira Code:size=6";
};
};
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 = "time"
format = "%Y-%m-%dT%H:%M:%S"
'';
};
services.logind = {
lidSwitch = lib.mkForce "lock";
extraConfig = lib.mkForce "HandlePowerKey=lock";
};
system.stateVersion = "21.11";
}