From 3176fefbdb507fa87ceceb29ca1134d6cf8c0fb0 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 14 Aug 2023 19:22:44 +0530 Subject: clean up: follow nixos.org/manual/nixpkgs/stable/#chap-conventions --- configuration.nix | 2 +- features/wayland.nix | 12 +++--------- features/xdp.nix | 4 +--- hardware/cez.nix | 4 ++-- hardware/kay.nix | 4 +--- 5 files changed, 8 insertions(+), 18 deletions(-) diff --git a/configuration.nix b/configuration.nix index a207cfe..68a6159 100644 --- a/configuration.nix +++ b/configuration.nix @@ -95,7 +95,7 @@ in bash.promptInit = '' PROMPT_COLOR="1;31m" [ "$UID" -ne 0 ] && - PROMPT_COLOR="1;32m" + PROMPT_COLOR="1;32m" PS1="\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] " ''; diff --git a/features/wayland.nix b/features/wayland.nix index 44523cc..2415a22 100644 --- a/features/wayland.nix +++ b/features/wayland.nix @@ -39,15 +39,9 @@ fontconfig = { hinting.style = "hintfull"; defaultFonts = { - monospace = [ - "Terminess Nerd Font" - ]; - serif = [ - "DeepMind Sans" - ]; - sansSerif = [ - "DeepMind Sans" - ]; + monospace = [ "Terminess Nerd Font" ]; + serif = [ "DeepMind Sans" ]; + sansSerif = [ "DeepMind Sans" ]; }; }; }; diff --git a/features/xdp.nix b/features/xdp.nix index eed561b..98d97a4 100644 --- a/features/xdp.nix +++ b/features/xdp.nix @@ -16,9 +16,7 @@ let in { # pkgs - environment.systemPackages = [ - dbus-xdp-environment - ]; + environment.systemPackages = [ dbus-xdp-environment ]; # xdg desktop portal xdg.portal = { diff --git a/hardware/cez.nix b/hardware/cez.nix index cc20331..dd46c86 100644 --- a/hardware/cez.nix +++ b/hardware/cez.nix @@ -21,8 +21,8 @@ sound = { enable = true; extraConfig = '' - defaults.pcm.card 1 - defaults.ctl.card 1 + defaults.pcm.card 1 + defaults.ctl.card 1 ''; }; services.pipewire = { diff --git a/hardware/kay.nix b/hardware/kay.nix index 7eb7290..a79c1fc 100644 --- a/hardware/kay.nix +++ b/hardware/kay.nix @@ -1,7 +1,5 @@ { config, pkgs, ... }: { - environment.systemPackages = with pkgs; [ - tmux - ]; + environment.systemPackages = with pkgs; [ tmux ]; } -- cgit v1.2.3