apply statix ( linter )

This commit is contained in:
Ludovico 2023-02-08 21:19:23 +09:30
parent b9da6a8c7e
commit d2d4da9c0c
7 changed files with 12 additions and 6 deletions

View File

@ -30,6 +30,6 @@ let
)
default.outputs;
ciDrvs = lib.mapAttrs (_: system: filterSystems system) systemOutputs;
ciDrvs = lib.mapAttrs (_: filterSystems) systemOutputs;
in
(recurseIntoAttrsRecursive ciDrvs) // {shell = import ./shell.nix;}

View File

@ -42,7 +42,7 @@
nvfetcher.url = "github:berberman/nvfetcher";
nvfetcher.inputs.nixpkgs.follows = "nixos";
nur.url = github:nix-community/NUR;
nur.url = "github:nix-community/NUR";
nixos-hardware.url = "github:nixos/nixos-hardware";
nix-colors.url = "github:misterio77/nix-colors";
};

View File

@ -1,4 +1,4 @@
{...}: let
_: let
inherit (default.inputs.nixos) lib;
host = configs.${hostname} or configs.NixOS;

View File

@ -7,7 +7,7 @@
home = {
username = "${config.vars.username}";
homeDirectory = "${config.vars.home}";
stateVersion = config.system.stateVersion;
inherit (config.system) stateVersion;
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";

View File

@ -35,6 +35,12 @@
usbutils
utillinux
];
variables = {
# silence direnv warnings for "long running commands"
DIRENV_WARN_TIMEOUT = "24h";
# silence direnv
DIRENV_LOG_FORMAT = "";
};
};
nix = {

View File

@ -13,7 +13,7 @@
colorScheme = inputs.nix-colors.colorSchemes.catppuccin;
home = "/home/${username}";
configHome = (builtins.getAttr username config.home-manager.users).xdg.configHome;
inherit ((builtins.getAttr username config.home-manager.users).xdg) configHome;
documentsFolder = "Documents";
downloadFolder = "Downloads";
musicFolder = "Music";

View File

@ -48,7 +48,7 @@ in {
++ lib.optionals (!pkgs.stdenv.buildPlatform.isi686) [
(devos cachix)
]
++ lib.optionals (pkgs.stdenv.hostPlatform.isLinux) [
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
(devos nixos-generators)
(devos inputs.deploy.packages.${pkgs.system}.deploy-rs)
];