From 92b4b1139e8e2d086fb625939a151036225cad62 Mon Sep 17 00:00:00 2001 From: Shaurya Singh Date: Fri, 17 Nov 2023 22:32:55 -0500 Subject: [PATCH] test --- hosts/c1/configuration.nix | 1 - hosts/c1/hardware-configuration.nix | 2 +- hosts/default.nix | 2 +- hosts/m1/configuration.nix | 6 +----- modules/parts/nixos.nix | 2 +- modules/shared/home-manager/default.nix | 4 ++-- modules/shared/nixos/default.nix | 2 +- users/default.nix | 2 +- users/shaunsingh/home.nix | 2 +- users/shaurizard/home.nix | 2 +- 10 files changed, 10 insertions(+), 15 deletions(-) diff --git a/hosts/c1/configuration.nix b/hosts/c1/configuration.nix index 49bff119..c8d30a12 100644 --- a/hosts/c1/configuration.nix +++ b/hosts/c1/configuration.nix @@ -1,6 +1,5 @@ { pkgs , lib -, inputs , config , ... }: diff --git a/hosts/c1/hardware-configuration.nix b/hosts/c1/hardware-configuration.nix index 618c6a92..4d28edf1 100644 --- a/hosts/c1/hardware-configuration.nix +++ b/hosts/c1/hardware-configuration.nix @@ -1,7 +1,7 @@ # 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, modulesPath, ... }: { imports = diff --git a/hosts/default.nix b/hosts/default.nix index 5ed5a407..08962024 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ ... }: { # nix-darwin configurations diff --git a/hosts/m1/configuration.nix b/hosts/m1/configuration.nix index 6847f6ab..756098e6 100644 --- a/hosts/m1/configuration.nix +++ b/hosts/m1/configuration.nix @@ -1,7 +1,3 @@ -{ pkgs -, lib -, inputs -, ... -}: { +{ ... }: { security.pam.enableSudoTouchIdAuth = true; } diff --git a/modules/parts/nixos.nix b/modules/parts/nixos.nix index de0b3210..42a6624a 100644 --- a/modules/parts/nixos.nix +++ b/modules/parts/nixos.nix @@ -7,7 +7,7 @@ let cfg = config.parts.nixosConfigurations; configurations = __mapAttrs (_: value: value._nixos) cfg; - nixosOpts = opts@{ config, name, ... }: { + nixosOpts = { config, name, ... }: { options = { server = lib.mkEnableOption "Host is a headless server configuration."; diff --git a/modules/shared/home-manager/default.nix b/modules/shared/home-manager/default.nix index a0d1fc04..fc79cfd1 100644 --- a/modules/shared/home-manager/default.nix +++ b/modules/shared/home-manager/default.nix @@ -1,4 +1,4 @@ -{ config, inputs, inputs', lib, pkgs, system, ... }: +{ config, inputs, lib, pkgs, ... }: /* home-manager configuration @@ -151,7 +151,7 @@ }; fish = { enable = true; - shellAliases = with pkgs; { + shellAliases = { ":q" = "exit"; git-rebase = "git rebase -i HEAD~2"; ll = "${pkgs.eza}/bin/eza -lF --color-scale --no-user --no-time --no-permissions --group-directories-first --icons -a"; diff --git a/modules/shared/nixos/default.nix b/modules/shared/nixos/default.nix index 2c0ee1d6..4a4bd277 100644 --- a/modules/shared/nixos/default.nix +++ b/modules/shared/nixos/default.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, options, inputs, inputs', system, ... }: +{ config, lib, pkgs, ... }: /* NixOS configuration diff --git a/users/default.nix b/users/default.nix index fb37a74b..12a85288 100644 --- a/users/default.nix +++ b/users/default.nix @@ -1,4 +1,4 @@ -{ config, lib, inputs, ... }: +{ ... }: { # home-manager configurations parts.homeConfigurations = { diff --git a/users/shaunsingh/home.nix b/users/shaunsingh/home.nix index 38aaf83c..c2de7e4e 100644 --- a/users/shaunsingh/home.nix +++ b/users/shaunsingh/home.nix @@ -1,4 +1,4 @@ -{ config, inputs, inputs', lib, pkgs, system, ... }: +{ config, lib, pkgs, ... }: /* home-manager configuration diff --git a/users/shaurizard/home.nix b/users/shaurizard/home.nix index 60b3fb7e..9f5edd2a 100644 --- a/users/shaurizard/home.nix +++ b/users/shaurizard/home.nix @@ -41,7 +41,7 @@ "${config.home.homeDirectory}/.local/bin" ]; - sessionVariables = with config.colorscheme.colors; { + sessionVariables = { EDITOR = "nvim"; BROWSER = "firefox"; QT_QPA_PLATFORMTHEME = "qt5ct";