treewide: apply deadnix

This commit is contained in:
Ludovico 2023-02-25 04:25:15 +10:00
parent 006df1c7b5
commit 2c0be80d53
No known key found for this signature in database
GPG Key ID: 3911DD276CFE779C
24 changed files with 18 additions and 76 deletions

View File

@ -524,7 +524,7 @@
"nix-eval-jobs": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_6"
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1676510875,
@ -723,19 +723,6 @@
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1676549890,
"narHash": "sha256-sq/WcOEAl7gWrrfGkWdnyYazRyTf+enEim/o6LOQzI8=",
"path": "/nix/store/h3vlwnvhbkjlck4ps694kmz20jwvgscc-source",
"rev": "8c66bd1b68f4708c90dcc97c6f7052a5a7b33257",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1676510113,
"narHash": "sha256-TBB/1Fv1/S7si9/Dy/DwYCoJBBZSwJu2zzQzagW8P48=",
@ -751,7 +738,7 @@
"type": "github"
}
},
"nixpkgs_7": {
"nixpkgs_6": {
"locked": {
"lastModified": 1655043425,
"narHash": "sha256-A+oT+aQGhW5lXy8H0cqBLsYtgcnT5glmGOXWQDcGw6I=",
@ -766,7 +753,7 @@
"type": "indirect"
}
},
"nixpkgs_8": {
"nixpkgs_7": {
"locked": {
"lastModified": 1673947312,
"narHash": "sha256-xx/2nRwRy3bXrtry6TtydKpJpqHahjuDB5sFkQ/XNDE=",
@ -834,7 +821,6 @@
"nix-gaming": "nix-gaming",
"nixos": "nixos",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_5",
"nixpkgs-wayland": "nixpkgs-wayland",
"nur": "nur",
"nvfetcher": "nvfetcher",
@ -870,7 +856,7 @@
},
"spicetify-nix": {
"inputs": {
"nixpkgs": "nixpkgs_7"
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1675736383,
@ -905,7 +891,7 @@
"swayfx": {
"inputs": {
"flake-compat": "flake-compat_6",
"nixpkgs": "nixpkgs_8"
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1676949001,

View File

@ -69,7 +69,6 @@
nur,
nvfetcher,
deploy,
nixpkgs,
...
} @ inputs:
digga.lib.mkFlake
@ -91,9 +90,9 @@
lib = import ./lib {lib = digga.lib // nixos.lib;};
sharedOverlays = [
(final: prev: {
(_final: prev: {
__dontExport = true;
lib = prev.lib.extend (lfinal: lprev: {
lib = prev.lib.extend (_lfinal: _lprev: {
our = self.lib;
});
})

View File

@ -1,5 +1,4 @@
{
suites,
profiles,
config,
...

View File

@ -1,7 +1,6 @@
{
config,
pkgs,
lib,
suites,
inputs,
...

View File

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

View File

@ -1,7 +1,5 @@
{lib}:
lib.makeExtensible (self: let
callLibs = file: import file {lib = self;};
in rec {
lib.makeExtensible (self: rec {
## Define your own library functions here!
#id = x: x;
## Or in files, containing functions that take {lib}

View File

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{config, ...}: {
home-manager.sharedModules = [
{
home.sessionVariables = {

View File

@ -1,12 +1,9 @@
{
config,
pkgs,
lib,
...
}:
with lib; let
cfg = config.vars;
in {
with lib; {
options.vars = {
email = mkOption {type = types.str;};
username = mkOption {type = types.str;};

View File

@ -1,4 +1,4 @@
channels: final: prev: {
channels: _final: _prev: {
__dontExport = true; # overrides clutter up actual creations
inherit

View File

@ -1,3 +1,3 @@
final: prev: {
_final: prev: {
waybar = prev.waybar.override {withMediaPlayer = true;};
}

View File

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

View File

@ -1,10 +1,6 @@
{
pkgs,
lib,
...
}: let
{lib, ...}: let
folder = ./.;
toImport = name: value: folder + ("/" + name);
toImport = name: _value: folder + ("/" + name);
filterCaches = key: value: value == "regular" && lib.hasSuffix ".nix" key && key != "default.nix";
imports = lib.mapAttrsToList toImport (lib.filterAttrs filterCaches (builtins.readDir folder));
in {

View File

@ -1,13 +1,10 @@
{
self,
config,
lib,
pkgs,
inputs,
...
}: let
inherit (lib) fileContents;
in {
}: {
# Sets binary caches which speeds up some builds
imports = [../cachix];

View File

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

View File

@ -2,7 +2,6 @@
config,
pkgs,
inputs,
location,
...
}: let
gitUrl = "https://github.com";

View File

@ -1,7 +1,6 @@
{
config,
pkgs,
inputs,
...
}: {
home-manager.users.${config.vars.username} = {

View File

@ -1,9 +1,4 @@
{
config,
lib,
pkgs,
...
}: let
{config, ...}: let
inherit (config.vars.colorScheme) colors;
in {
home-manager.users.${config.vars.username} = {

View File

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

View File

@ -2,7 +2,6 @@
pkgs,
config,
inputs,
lib,
...
}: let
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;

View File

@ -1,9 +1,4 @@
{
config,
lib,
pkgs,
...
}: {
{pkgs, ...}: {
environment.systemPackages = with pkgs; [xfce.thunar];
programs.thunar.plugins = with pkgs.xfce; [

View File

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

View File

@ -8,7 +8,6 @@
inputs,
...
} @ args: let
inherit (config.vars.colorScheme) colors;
mkService = lib.recursiveUpdate {
Unit.PartOf = ["graphical-session.target"];
Unit.After = ["graphical-session.target"];

View File

@ -6,7 +6,6 @@
mod = cfg.modifier;
amixer = "${pkgs.alsa-utils}/bin/amixer";
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
pactl = "${pkgs.pulseaudio}/bin/pactl";
playerctl = "${pkgs.playerctl}/bin/playerctl";
in rec {
# Kill focused window

View File

@ -1,8 +1,4 @@
{
self,
inputs,
...
}: {
{inputs, ...}: {
modules = with inputs; [];
exportedModules = [
./devos.nix