From b19b93e39c4104c32dfbdaa11a3cc050607b1d05 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 2 May 2024 02:09:17 +0200 Subject: [PATCH] test(typos): ignore png images --- _typos.toml | 4 ++++ flake.lock | 18 +++++++++--------- modules/home-manager/desktop/sway/default.nix | 4 ++-- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/_typos.toml b/_typos.toml index a2f7f59..a44fcd3 100644 --- a/_typos.toml +++ b/_typos.toml @@ -5,3 +5,7 @@ extend-ignore-re = ['[a-fA-F0-9]{6}'] [default.extend-words] doas = "doas" edn = "edn" + +[type.images] +extend-glob = ["*.png"] +check-file = false diff --git a/flake.lock b/flake.lock index b2a27c6..9e24a79 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1713077896, - "narHash": "sha256-Noot8H0EZEAFRQWyGxh9ryvhK96xpIqKbh78X447JWs=", + "lastModified": 1714515075, + "narHash": "sha256-azMK7aWH0eUc3IqU4Fg5rwZdB9WZBvimOGG3piqvtsY=", "owner": "nix-community", "repo": "home-manager", - "rev": "630a0992b3627c64e34f179fab68e3d48c6991c0", + "rev": "6d3b6dc9222c12b951169becdf4b0592ee9576ef", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1712963716, - "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=", + "lastModified": 1714253743, + "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "cfd6b5fc90b15709b780a5a1619695a88505a176", + "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", "type": "github" }, "original": { @@ -37,11 +37,11 @@ }, "nur": { "locked": { - "lastModified": 1713113175, - "narHash": "sha256-E/WxD3Nh4kd3AYYLk8UyMnkUm9AMT3zUk/rBI4Qjk04=", + "lastModified": 1714596740, + "narHash": "sha256-V3ZR38xu3JSUrg04wMTp0fzDSP+ogNJOOU5ckreCzLQ=", "owner": "nix-community", "repo": "NUR", - "rev": "90060445d9ee7b731c147b2caa53dc45d557bce9", + "rev": "c8456769a0904ac761020a76bf0bb72a92c27c7c", "type": "github" }, "original": { diff --git a/modules/home-manager/desktop/sway/default.nix b/modules/home-manager/desktop/sway/default.nix index 4e1d418..f7d40e0 100644 --- a/modules/home-manager/desktop/sway/default.nix +++ b/modules/home-manager/desktop/sway/default.nix @@ -15,12 +15,12 @@ in wallpapers = { lockscreen = mkOption { - type = types.path; + type = types.str; default = ""; description = "path for lockscreen wallpaper"; }; desktop = mkOption { - type = types.path; + type = types.str; default = ""; description = "path for desktop wallpaper"; };