diff --git a/nixos/boxes/thinky/hardware-configuration.nix b/nixos/boxes/thinky/hardware-configuration.nix index 767c870a..2955df1f 100644 --- a/nixos/boxes/thinky/hardware-configuration.nix +++ b/nixos/boxes/thinky/hardware-configuration.nix @@ -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; diff --git a/nixos/i3/i3-status.nix b/nixos/i3/i3-status.nix index 1f866bc3..f3d6d6cd 100644 --- a/nixos/i3/i3-status.nix +++ b/nixos/i3/i3-status.nix @@ -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; }; }; diff --git a/nixos/i3/i3.nix b/nixos/i3/i3.nix index b302b936..364759a3 100644 --- a/nixos/i3/i3.nix +++ b/nixos/i3/i3.nix @@ -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";