resolve all warnings
This commit is contained in:
parent
ac8aee70c0
commit
53413050db
18 changed files with 20 additions and 32 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
fileSystems."/home/chris/games" = {
|
fileSystems."/home/chris/games" = {
|
||||||
device = "/dev/disk/by-label/games";
|
device = "/dev/disk/by-label/games";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
modules = {
|
modules = {
|
||||||
system.audio.enable = true;
|
system.audio.enable = true;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
imports = [ ./hardware.nix ];
|
imports = [ ./hardware.nix ];
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{ lib, self, ... }:
|
{ ... }:
|
||||||
let
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
mkWinApp = { }: {
|
mkWinApp = { }: {
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (lib.my) mkWinApp;
|
# inherit (lib.my) mkWinApp;
|
||||||
|
|
||||||
cfg = config.modules.${user}.desktop.applications.studio;
|
cfg = config.modules.${user}.desktop.applications.studio;
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ inputs, config, options, lib, pkgs, user, ... }:
|
{ config, lib, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.meta) getExe;
|
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
|
|
||||||
cfg = config.modules.${user}.desktop.editors.nvim;
|
cfg = config.modules.${user}.desktop.editors.nvim;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.meta) getExe;
|
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.attrsets) attrValues;
|
inherit (lib.attrsets) attrValues;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, options, lib, pkgs, user, ... }: let
|
{ config, lib, pkgs, user, ... }: let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.attrsets) attrValues;
|
|
||||||
|
|
||||||
cfg = config.modules.${user}.desktop.editors.zed;
|
cfg = config.modules.${user}.desktop.editors.zed;
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
inherit (lib.strings) concatStringsSep;
|
|
||||||
inherit (lib.options) mkEnableOption;
|
inherit (lib.options) mkEnableOption;
|
||||||
|
|
||||||
cfg = config.modules.${user}.shell.toolset.eza;
|
cfg = config.modules.${user}.shell.toolset.eza;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkIf mkEnableOption;
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (builtins) readFile;
|
|
||||||
inherit (lib.attrsets) attrValues;
|
inherit (lib.attrsets) attrValues;
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (builtins) getEnv;
|
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
|
|
||||||
cfg = config.modules.${user}.shell.toolset.gnupg;
|
cfg = config.modules.${user}.shell.toolset.gnupg;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, options, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
in
|
in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, lib, pkgs, config, ... }: let
|
{ inputs, lib, config, ... }: let
|
||||||
inherit (lib) mkEnableOption mkIf;
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
|
||||||
cfg = config.modules.authentication.himmelblau;
|
cfg = config.modules.authentication.himmelblau;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, config, options, lib, pkgs, ... }:
|
{ inputs, config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
in
|
in
|
||||||
|
@ -132,10 +132,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
files = let
|
files = let
|
||||||
inherit (builtins) readFile listToAttrs attrNames readDir mapAttrs;
|
inherit (builtins) readDir;
|
||||||
inherit (lib.attrsets) nameValuePair;
|
|
||||||
inherit (lib) concatMapAttrs;
|
inherit (lib) concatMapAttrs;
|
||||||
inherit (lib.my) mapFilterAttrs;
|
|
||||||
|
|
||||||
readDirRec = src: dir: fn:
|
readDirRec = src: dir: fn:
|
||||||
concatMapAttrs (name: type: if type == "directory"
|
concatMapAttrs (name: type: if type == "directory"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, options, lib, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.options) mkEnableOption;
|
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
|
|
||||||
cfg = config.modules.shell;
|
cfg = config.modules.shell;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, options, lib, pkgs, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib.attrsets) attrValues;
|
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
|
|
||||||
cfg = config.modules.shell.zsh;
|
cfg = config.modules.shell.zsh;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue