Compare commits

..

1 commit

Author SHA1 Message Date
ce030913e3
chore(deps): lock file maintenance
Some checks failed
/ check-renovaterc (push) Successful in 3s
/ build (push) Successful in 3s
/ test (push) Failing after 2m12s
/ report-size (push) Successful in 13s
2025-04-28 22:00:43 +02:00
2 changed files with 13 additions and 16 deletions

View file

@ -1,8 +1,4 @@
{ lib, inputs, ... }: { inputs, ... }:
let
webnsupdate = ../module.nix;
cargoToml = lib.importTOML ../Cargo.toml;
in
{ {
imports = [ imports = [
inputs.treefmt-nix.flakeModule inputs.treefmt-nix.flakeModule
@ -10,10 +6,14 @@ in
./tests.nix ./tests.nix
]; ];
flake.nixosModules = { flake.nixosModules =
default = webnsupdate; let
inherit webnsupdate; webnsupdate = ../module.nix;
}; in
{
default = webnsupdate;
inherit webnsupdate;
};
perSystem = perSystem =
{ pkgs, ... }: { pkgs, ... }:
@ -23,10 +23,7 @@ in
projectRootFile = "flake.nix"; projectRootFile = "flake.nix";
programs = { programs = {
nixfmt.enable = true; nixfmt.enable = true;
rustfmt = { rustfmt.enable = true;
enable = true;
inherit (cargoToml.package) edition; # respect the package's edition
};
statix.enable = true; statix.enable = true;
typos.enable = true; typos.enable = true;
}; };

6
flake.lock generated
View file

@ -37,11 +37,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1745794561, "lastModified": 1745526057,
"narHash": "sha256-T36rUZHUART00h3dW4sV5tv4MrXKT7aWjNfHiZz7OHg=", "narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5461b7fa65f3ca74cef60be837fd559a8918eaa0", "rev": "f771eb401a46846c1aebd20552521b233dd7e18b",
"type": "github" "type": "github"
}, },
"original": { "original": {