i3 bar on thinky

This commit is contained in:
Cyryl Płotnicki 2023-06-20 09:25:11 +02:00
parent 36903e2be8
commit 4c6f740e8b
3 changed files with 13 additions and 23 deletions

View file

@ -1,20 +1,14 @@
{
config,
lib,
pkgs,
inputs,
...
}: {
{ config, lib, pkgs, inputs, ... }: {
boot = {
kernelModules = [ "kvm-intel" ];
initrd = {
kernelModules = [ "dm-snapshot" ];
availableKernelModules = ["ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "sd_mod"];
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,7 +17,8 @@
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";

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
programs.i3status = {
enable = true;
enableDefault = false;

View file

@ -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";