all: remove dead code

This commit is contained in:
Asmir A 2024-04-12 21:50:51 +02:00
parent 84b6e74e7b
commit a0a6acf280
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2
13 changed files with 5 additions and 33 deletions

View File

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

View File

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

View File

@ -1,5 +1,4 @@
{ {
config,
pkgs, pkgs,
nix-xilinx, nix-xilinx,
system, system,

View File

@ -1,16 +1,12 @@
{ {
pkgs, pkgs,
config, config,
lib,
inputs,
... ...
}: }: let
let
qutebrowser_firejail = pkgs.writeShellScriptBin "qutebrowser" '' qutebrowser_firejail = pkgs.writeShellScriptBin "qutebrowser" ''
firejail -- ${pkgs.qutebrowser}/bin/qutebrowser "$@" firejail -- ${pkgs.qutebrowser}/bin/qutebrowser "$@"
''; '';
in in {
with lib; {
imports = [./zsh.nix ./i3status-rust.nix ./sway.nix ./i3.nix ./home_packages.nix ./whatsapp-for-linux.nix]; imports = [./zsh.nix ./i3status-rust.nix ./sway.nix ./i3.nix ./home_packages.nix ./whatsapp-for-linux.nix];
home.stateVersion = "22.11"; home.stateVersion = "22.11";
@ -62,7 +58,7 @@ with lib; {
clock24 = true; clock24 = true;
keyMode = "vi"; keyMode = "vi";
terminal = "screen-256color"; terminal = "screen-256color";
plugins = with pkgs.tmuxPlugins; [ sysstat net-speed gruvbox ]; plugins = with pkgs.tmuxPlugins; [sysstat net-speed gruvbox];
}; };
mpv = { mpv = {

View File

@ -1,5 +1,4 @@
{ {
config,
pkgs, pkgs,
inputs, inputs,
system, system,

View File

@ -1,9 +1,4 @@
{ {...}: {
config,
lib,
pkgs,
...
}: {
programs.i3status-rust = { programs.i3status-rust = {
bars.top = { bars.top = {
icons = "awesome5"; icons = "awesome5";

View File

@ -1,6 +1,5 @@
{ {
config, config,
lib,
pkgs, pkgs,
inputs, inputs,
system, system,

View File

@ -1,9 +1,4 @@
{ {lib, ...}:
config,
pkgs,
lib,
...
}:
with lib; { with lib; {
xdg.configFile."whatsapp-for-linux/settings.conf".source = builtins.toFile "settings.conf" ( xdg.configFile."whatsapp-for-linux/settings.conf".source = builtins.toFile "settings.conf" (
generators.toINI {} { generators.toINI {} {

View File

@ -2,9 +2,7 @@
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ {
config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }: {

View File

@ -4,8 +4,6 @@
{ {
config, config,
pkgs, pkgs,
lib,
sops-nix,
zremap, zremap,
system, system,
nvim, nvim,

View File

@ -2,9 +2,7 @@
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ {
config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }: {

View File

@ -1,9 +1,7 @@
{ {
config, config,
pkgs, pkgs,
lib,
nix-xilinx, nix-xilinx,
sops-nix,
system, system,
nvim, nvim,
zremap, zremap,

View File

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