Get rustybar and sway customizations working on mistmane
This commit is contained in:
parent
dfd5887f35
commit
f249dd5fc7
2
externals/packages/rustybar
vendored
2
externals/packages/rustybar
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 3f69c3d2eb046be51dd4021bf730779500b8d330
|
Subproject commit 56da46578d8b41c8a3f8bb83eb3b6b194a6538bc
|
|
@ -1,22 +1,59 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./boot-config.nix
|
./boot-config.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../externals/wip-pinebook-pro/pinebook_pro.nix
|
../../externals/wip-pinebook-pro/pinebook_pro.nix
|
||||||
../../sets/wifi.nix
|
../../sets/laptop.nix
|
||||||
../../sets/workstation.nix
|
../../sets/workstation.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "mistmane";
|
networking.hostName = "mistmane";
|
||||||
programs.light.enable = true;
|
|
||||||
system.stateVersion = "20.09";
|
|
||||||
|
|
||||||
security.pam.enableEcryptfs = true;
|
security.pam.enableEcryptfs = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ecryptfs
|
ecryptfs
|
||||||
ecryptfs-helper
|
ecryptfs-helper
|
||||||
foot
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
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 = "iwd"
|
||||||
|
interface = "wlan0"
|
||||||
|
[[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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue