summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-08-14 19:22:44 +0530
committersinanmohd <sinan@sinanmohd.com>2023-08-14 19:22:44 +0530
commit3176fefbdb507fa87ceceb29ca1134d6cf8c0fb0 (patch)
treefce6a344c51fde4a6e7f070bf27da4ef113303db
parenta83b1acf190adb7c324866545270dbcd94e2ac4c (diff)
clean up: follow nixos.org/manual/nixpkgs/stable/#chap-conventions
-rw-r--r--configuration.nix2
-rw-r--r--features/wayland.nix12
-rw-r--r--features/xdp.nix4
-rw-r--r--hardware/cez.nix4
-rw-r--r--hardware/kay.nix4
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 ];
}