diff --git a/hosts/desktop1/hardware-configuration.nix b/hosts/desktop1/hardware-configuration.nix index c880815..00b3dfe 100644 --- a/hosts/desktop1/hardware-configuration.nix +++ b/hosts/desktop1/hardware-configuration.nix @@ -1,37 +1,53 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "usb_storage" + "usbhid" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/05e716ac-e6a2-407d-9941-5ad95db74698"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/05e716ac-e6a2-407d-9941-5ad95db74698"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A238-B4BF"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - fileSystems."/home" = - { device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f"; - fsType = "ext4"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/5baebd62-0a58-47c0-b2de-1f5c2970fadf"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/A238-B4BF"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" ]; + }; + + fileSystems."/home" = { + device = "/dev/disk/by-uuid/30759de4-934a-4c89-aca5-2e4fed7fe94f"; + fsType = "ext4"; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/5baebd62-0a58-47c0-b2de-1f5c2970fadf"; } + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's diff --git a/modules/home-manager/notif/mako.nix b/modules/home-manager/notif/mako.nix index f16d508..4353c5f 100644 --- a/modules/home-manager/notif/mako.nix +++ b/modules/home-manager/notif/mako.nix @@ -7,11 +7,11 @@ in services.mako = { enable = true; settings = { - font="JetBrainsMono 10"; - background-color="#282828"; - text-color="#ebdbb2"; - border-color="#98971a"; - border-size=2; + font = "JetBrainsMono 10"; + background-color = "#282828"; + text-color = "#ebdbb2"; + border-color = "#98971a"; + border-size = 2; }; }; }; diff --git a/modules/nix/browser/chromium.nix b/modules/nix/browser/chromium.nix index f0f3d03..6b480ee 100644 --- a/modules/nix/browser/chromium.nix +++ b/modules/nix/browser/chromium.nix @@ -1,4 +1,9 @@ -{ lib, config, pkgs, ... }: +{ + lib, + config, + pkgs, + ... +}: let inherit (lib) mkIf mkOption types; in diff --git a/modules/nix/notif/mako.nix b/modules/nix/notif/mako.nix index 8d3b29d..c02c227 100644 --- a/modules/nix/notif/mako.nix +++ b/modules/nix/notif/mako.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ...}: +{ + config, + lib, + pkgs, + ... +}: let inherit (lib) mkIf mkOption types; in