i3 bar on thinky
This commit is contained in:
parent
36903e2be8
commit
4c6f740e8b
3 changed files with 13 additions and 23 deletions
|
@ -1,20 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{ config, lib, pkgs, inputs, ... }: {
|
||||
boot = {
|
||||
kernelModules = ["kvm-intel"];
|
||||
kernelModules = [ "kvm-intel" ];
|
||||
|
||||
initrd = {
|
||||
kernelModules = ["dm-snapshot"];
|
||||
availableKernelModules = ["ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod"];
|
||||
kernelModules = [ "dm-snapshot" ];
|
||||
availableKernelModules =
|
||||
[ "ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod" ];
|
||||
};
|
||||
|
||||
loader.grub.enable = true;
|
||||
loader.grub.version = 2;
|
||||
loader.grub.device = "/dev/sda";
|
||||
};
|
||||
|
||||
|
@ -23,14 +17,15 @@
|
|||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/8d51b38a-5d90-4a7a-a86a-0d57648fd82d";
|
||||
boot.initrd.luks.devices."crypt".device =
|
||||
"/dev/disk/by-uuid/8d51b38a-5d90-4a7a-a86a-0d57648fd82d";
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/195b3f15-885e-4123-879f-6e4591a58317";
|
||||
fsType = "ext2";
|
||||
};
|
||||
|
||||
swapDevices = [];
|
||||
swapDevices = [ ];
|
||||
|
||||
nix.settings = {
|
||||
max-jobs = 2;
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{ config, pkgs, ... }: {
|
||||
programs.i3status = {
|
||||
enable = true;
|
||||
enableDefault = false;
|
||||
modules = {
|
||||
"load" = {position = 1;};
|
||||
"load" = { position = 1; };
|
||||
"disk /" = {
|
||||
position = 2;
|
||||
settings = {format = " %avail";};
|
||||
settings = { format = " %avail"; };
|
||||
};
|
||||
"memory" = {
|
||||
settings = {
|
||||
|
@ -31,7 +27,7 @@
|
|||
position = 3;
|
||||
};
|
||||
"time" = {
|
||||
settings = {format = "%a %d/%m %H:%M";};
|
||||
settings = { format = "%a %d/%m %H:%M"; };
|
||||
position = 9;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -43,8 +43,7 @@ in {
|
|||
|
||||
workspaceLayout = "tabbed";
|
||||
bars = [{
|
||||
statusCommand =
|
||||
"${pkgs.i3status-rust}/bin/i3status-rs ~/.config/i3status-rust/config-top.toml";
|
||||
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||
position = "top";
|
||||
colors.background = "#001e26";
|
||||
colors.statusline = "#708183";
|
||||
|
|
Loading…
Reference in a new issue