ctucx.git: nixfiles

ctucx' nixfiles

commit f1b3977641d157b47cf843e2de6a9fe4d0ea48ae
parent cb88e1b30e83c9649eb8de6f745226066145db17
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 13 Oct 2021 00:44:42 +0200

cleanup
28 files changed, 35 insertions(+), 36 deletions(-)
diff --git a/configurations/programs/alacritty.nix b/configurations/programs/alacritty.nix
@@ -1,4 +1,4 @@
-{ lib, config, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/archbox.nix b/configurations/programs/archbox.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ pkgs, ... }:
 
 let
     archbox = pkgs.stdenv.mkDerivation rec {
diff --git a/configurations/programs/cli/bash.nix b/configurations/programs/cli/bash.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ pkgs, ... }:
 
 {
   imports = [
diff --git a/configurations/programs/cli/git.nix b/configurations/programs/cli/git.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/cli/htop.nix b/configurations/programs/cli/htop.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ pkgs, ... }:
 
 {
   nixpkgs.overlays = [(self: super: {
diff --git a/configurations/programs/cli/micro.nix b/configurations/programs/cli/micro.nix
@@ -1,14 +1,13 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ pkgs, ... }:
 
-let
-  microNoDesktop = pkgs.micro.overrideAttrs(oldAttrs: {
-    postInstall = '' '';
-  });
-
-in {
+{
   home-manager.users.leah = {
     home = {
-      packages = [ microNoDesktop ];
+      packages = [
+        (pkgs.micro.overrideAttrs(oldAttrs: {
+          postInstall = "";
+        }))
+      ];
 
       sessionVariables = {
         EDITOR        = "micro";
diff --git a/configurations/programs/cli/password-store.nix b/configurations/programs/cli/password-store.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/cli/ssh.nix b/configurations/programs/cli/ssh.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/cli/starship.nix b/configurations/programs/cli/starship.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/cli/tmux.nix b/configurations/programs/cli/tmux.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/cli/utilities.nix b/configurations/programs/cli/utilities.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, lib, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/firefox.nix b/configurations/programs/firefox.nix
@@ -1,4 +1,4 @@
-{ lib, config, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/gammastep.nix b/configurations/programs/gammastep.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/gvfs.nix b/configurations/programs/gvfs.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ pkgs, ... }:
 
 {
   services = {
diff --git a/configurations/programs/imv.nix b/configurations/programs/imv.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/mako.nix b/configurations/programs/mako.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/mpv.nix b/configurations/programs/mpv.nix
@@ -1,10 +1,10 @@
-{ lib, config, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
     programs = {
       mpv = {
-        enable = true;
+        enable  = true;
         scripts = [
           pkgs.mpvScripts.mpris
         ];
diff --git a/configurations/programs/physlock.nix b/configurations/programs/physlock.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ ... }:
 
 {
   services = {
diff --git a/configurations/programs/pipewire.nix b/configurations/programs/pipewire.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ ... }:
 
 {
   security.rtkit.enable = true;
diff --git a/configurations/programs/sway.nix b/configurations/programs/sway.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ config, pkgs, ... }:
 
 {
 #  environment.noXlibs = true;
diff --git a/configurations/programs/swaylock.nix b/configurations/programs/swaylock.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   security.pam.services.swaylock = {};
diff --git a/configurations/programs/syncthing.nix b/configurations/programs/syncthing.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/systemd-lock-handler.nix b/configurations/programs/systemd-lock-handler.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ pkgs, ... }:
 
 let
   systemd-lock-handler = pkgs.buildGoModule rec {
diff --git a/configurations/programs/thunar.nix b/configurations/programs/thunar.nix
@@ -1,4 +1,4 @@
-{ lib, config, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   imports = [
diff --git a/configurations/programs/thunderbird.nix b/configurations/programs/thunderbird.nix
@@ -1,4 +1,4 @@
-{ lib, config, pkgs, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/usbmuxd.nix b/configurations/programs/usbmuxd.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ ... }:
 
 {
   services = {
diff --git a/configurations/programs/utilities.nix b/configurations/programs/utilities.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {
diff --git a/configurations/programs/waybar/default.nix b/configurations/programs/waybar/default.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, home-manager, ... }:
+{ pkgs, ... }:
 
 {
   home-manager.users.leah = {