style: remove unused code treewide

This commit is contained in:
Mohammad Rafiq 2025-05-20 13:09:10 +08:00
parent 0779eba4cc
commit f40ebe39a7
No known key found for this signature in database
10 changed files with 6 additions and 12 deletions

View file

@ -1,7 +1,5 @@
{ {
config,
pkgs, pkgs,
osConfig,
... ...
}: }:
{ {

View file

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
osConfig,
... ...
}: }:
{ {

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: { config, ... }:
{ {
config = { config = {
home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config"; home.sessionVariables.GIT_CONFIG_GLOBAL = "$HOME/.config/git/config";

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { lib, ... }:
{ {
imports = [ imports = [
./windowManager.nix ./windowManager.nix

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, ... }:
{ {
config = { config = {
services.pipewire = { services.pipewire = {

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, ... }:
{ {
config = { config = {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { lib, ... }:
{ {
sops = { sops = {
defaultSopsFile = lib.snowfall.fs.get-file "secrets/secrets.yaml"; defaultSopsFile = lib.snowfall.fs.get-file "secrets/secrets.yaml";

View file

@ -1,7 +1,6 @@
{ {
config, config,
lib, lib,
pkgs,
... ...
}: }:
{ {

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }: { pkgs, ... }:
pkgs.writeShellScriptBin "rebuild" # sh pkgs.writeShellScriptBin "rebuild" # sh
'' ''
if [ ! -f "flake.nix" ]; then if [ ! -f "flake.nix" ]; then

View file

@ -1,7 +1,5 @@
{ {
config,
lib, lib,
pkgs,
... ...
}: }:
{ {