aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-18 14:40:38 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-18 14:40:38 +0200
commit9fe3c86fb3a96187fc058a72490c03b6d5b101a0 (patch)
tree528bb027fed149a7cc0020bbfa99225dbe09db7e /flake.nix
parent39c14b0c6420ea1e1604201a1b8891edf24bb280 (diff)
downloaddesktop-flake-9fe3c86fb3a96187fc058a72490c03b6d5b101a0.tar.gz
desktop-flake-9fe3c86fb3a96187fc058a72490c03b6d5b101a0.tar.bz2
desktop-flake-9fe3c86fb3a96187fc058a72490c03b6d5b101a0.zip
Fix nix flake check warnings; record first successful check
Rename nixfmt-rfc-style to its current canonical name nixfmt, and add meta.description to the bootstrap-host app to clear its warning. Records the first successful `nix flake check` run (on a Linux machine with Nix, since this Mac still doesn't have it) across all four implemented changes so far — no errors, only these now-fixed warnings.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index 4efe54b..3ccea5e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -53,7 +53,7 @@
53 }; 53 };
54 }; 54 };
55 55
56 formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style); 56 formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.nixfmt);
57 57
58 devShells = forAllSystems (system: 58 devShells = forAllSystems (system:
59 let 59 let
@@ -61,7 +61,7 @@
61 in 61 in
62 { 62 {
63 default = pkgs.mkShell { 63 default = pkgs.mkShell {
64 packages = [ pkgs.statix pkgs.deadnix pkgs.nixfmt-rfc-style ]; 64 packages = [ pkgs.statix pkgs.deadnix pkgs.nixfmt ];
65 }; 65 };
66 }); 66 });
67 67
@@ -76,6 +76,7 @@
76 name = "bootstrap-host"; 76 name = "bootstrap-host";
77 runtimeInputs = [ pkgs.coreutils pkgs.gnused ]; 77 runtimeInputs = [ pkgs.coreutils pkgs.gnused ];
78 text = builtins.readFile ./scripts/bootstrap-host.sh; 78 text = builtins.readFile ./scripts/bootstrap-host.sh;
79 meta.description = "Scaffold a new NixOS host from hosts/template";
79 }}/bin/bootstrap-host"; 80 }}/bin/bootstrap-host";
80 }; 81 };
81 }); 82 });