chore(clean): deadnix pruning

This commit is contained in:
Zhongheng Liu 2025-01-08 14:24:09 +02:00
commit a81feaf5fa
Signed by: steven
GPG key ID: 805A28B071DAD84B
50 changed files with 37 additions and 168 deletions

View file

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

View file

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

View file

@ -1,5 +1,4 @@
{ pkgs
, config
, ...
}: {
gtk = {

View file

@ -1,6 +1,4 @@
{ inputs
, lib
, config
{ config
, pkgs
, ...
}: {
@ -9,7 +7,6 @@
./shells
../../common/variables.nix
./services
#./mako.nix DEPRECATED Changed to sway notification center
./wechat
./editors.nix
./gtk.nix
@ -25,7 +22,7 @@
nixpkgs = {
# You can add overlays here
overlays = [
(final: prev: {
(_final: prev: {
ags = prev.ags.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [ pkgs.libdbusmenu-gtk3 ];
});
@ -84,7 +81,7 @@
enable = true;
package = with pkgs; (firefox-devedition.override {
nativeMessagingHosts = [
(passff-host.overrideAttrs (old: {
(passff-host.overrideAttrs (_old: {
dontStrip = true;
patchPhase = ''
sed -i 's#COMMAND = "pass"#COMMAND = "${

View file

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

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
let
timeoutSeconds = 600;
in

View file

@ -1,4 +1,4 @@
{ inputs, config, pkgs, lib, ... }: {
{ inputs, config, pkgs, ... }: {
home.packages =
[ inputs.hyprland-qtutils.packages.x86_64-linux.default pkgs.foot ];
wayland.windowManager.hyprland = {
@ -40,7 +40,6 @@
accel_profile = "flat";
};
exec-once = config.myAutostartCommands ++ import ./hypr_autostart.nix {
inherit pkgs;
inherit config;
};
misc = {
@ -51,12 +50,10 @@
};
"$mod" = "SUPER";
binde = import ./xf86_binds.nix {
inherit config;
inherit pkgs;
};
bind = import ./binds.nix {
inherit config;
inherit lib;
inherit pkgs;
};
bindm = [

View file

@ -1,4 +1,4 @@
{ pkgs, config }:
{ config }:
let
term = config.defaultApplications.terminal;
shell = config.myShells.defaultShell;

View file

@ -1,5 +1,4 @@
{ pkgs
, config
,
}: [
", XF86AudioPlay, exec, ${pkgs.playerctl}/bin/playerctl play-pause"

View file

@ -1,7 +1,4 @@
{ pkgs
, config
, lib
, ...
{ ...
}: {
programs.hyprlock = {
enable = true;

View file

@ -1,5 +1,4 @@
{ pkgs
, config
{ config
, ...
}: {
services.hyprpaper = {

View file

@ -1,6 +1,4 @@
{ pkgs
, lib
, ...
{ ...
}:
let
defaultTimeoutMillis = 5 * 1000;

View file

@ -1,4 +1,4 @@
{ config, ... }: {
{ ... }: {
imports = [
./auto-pairs.nix
./autosave.nix

View file

@ -1,7 +1,4 @@
{ pkgs
, config
, lib
, ...
{ ...
}: {
imports = [
./util-programs.nix

View file

@ -1,5 +1,4 @@
{ pkgs
, config
, ...
}: {
home.packages = with pkgs; [

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
, ...
}: {
home.packages = with pkgs; [ vesktop ];

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
{
home.packages = with pkgs; [ bottles ];
}

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
, ...
}: {
home.packages = with pkgs; [

View file

@ -1,5 +1,4 @@
{ pkgs
, config
, ...
}: {
home.packages = with pkgs; [

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
, ...
}: {
home.packages = with pkgs; [

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, ... }: {
home.packages = with pkgs; [ vscodium-fhs ];
xdg.desktopEntries.codium = { };
}

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
, ...
}: {
home.packages = with pkgs; [ wl-clipboard ];

View file

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

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
{ lib
, ...
}: {
programs.foot = {

View file

@ -1,6 +1,5 @@
{ pkgs
, config
, lib
, ...
}: {
programs.git = {

View file

@ -1,7 +1,4 @@
{ pkgs
, config
, lib
, ...
{ ...
}: {
programs.rofi = {
enable = true;

View file

@ -1,6 +1,5 @@
{ pkgs
, config
, lib
, ...
}: {
programs.tmux = {

View file

@ -1,5 +1,4 @@
{ pkgs
, config
{ config
, ...
}: {
programs.walker = {

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, ...
{ ...
}: {
imports = [
./swaync.nix

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, ...
{ ...
}: {
services.swaync = {
enable = true;

View file

@ -1,11 +1,7 @@
{ pkgs
, lib
{ lib
, config
, ...
}:
let
cfg = config.myShells;
in
with lib; {
imports = [
./zsh.nix

View file

@ -1,4 +1,4 @@
{ config, ... }: {
{ ... }: {
programs = {
direnv = {
enable = true;

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, ...
{ ...
}: {
EDITOR = "nvim";
}

View file

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

View file

@ -1,6 +1,4 @@
{ pkgs
, config
, lib
{ config
, ...
}: {
programs.zoxide = {

View file

@ -3,9 +3,6 @@
, config
, ...
}:
let
cfg = config.shell.zsh;
in
with lib; {
options.myShells.zsh = {
enable = mkEnableOption "Enables zsh and components.";

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ ... }: {
xdg = {
enable = true;
userDirs.enable = true;