Flake for my NixOS devices

Clean up

Spoonbaker 3bbc21dc e7f0fb4f

+12 -9
+1 -1
flake.lock
··· 419 "type": "github" 420 }, 421 "original": { 422 - "owner": "Mic92", 423 "repo": "nix-index-database", 424 "type": "github" 425 }
··· 419 "type": "github" 420 }, 421 "original": { 422 + "owner": "nix-community", 423 "repo": "nix-index-database", 424 "type": "github" 425 }
+2 -2
flake.nix
··· 5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 6 flakelight.url = "github:nix-community/flakelight"; 7 flakelight.inputs.nixpkgs.follows = "nixpkgs"; 8 - nix-index-db.url = "github:Mic92/nix-index-database"; 9 nix-index-db.inputs.nixpkgs.follows = "nixpkgs"; 10 hm.url = "github:nix-community/home-manager"; 11 hm.inputs.nixpkgs.follows = "nixpkgs"; ··· 54 }; 55 packages = 56 nixpkgs.lib.genAttrs ["gh-grader-preview" "wayland-mpris-idle-inhibit" "nu_plugin_dbus"] 57 - (i: {pkgs}: let input = builtins.getAttr i inputs; in input.packages.${pkgs.system}.default); 58 nixDir = ./.; 59 nixDirAliases = { 60 nixosConfigurations = ["systemConfigs"];
··· 5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 6 flakelight.url = "github:nix-community/flakelight"; 7 flakelight.inputs.nixpkgs.follows = "nixpkgs"; 8 + nix-index-db.url = "github:nix-community/nix-index-database"; 9 nix-index-db.inputs.nixpkgs.follows = "nixpkgs"; 10 hm.url = "github:nix-community/home-manager"; 11 hm.inputs.nixpkgs.follows = "nixpkgs"; ··· 54 }; 55 packages = 56 nixpkgs.lib.genAttrs ["gh-grader-preview" "wayland-mpris-idle-inhibit" "nu_plugin_dbus"] 57 + (i: {pkgs}: inputs.${i}.packages.${pkgs.system}.default); 58 nixDir = ./.; 59 nixDirAliases = { 60 nixosConfigurations = ["systemConfigs"];
+9 -6
justfile
··· 3 4 [private] 5 alias u := update 6 - # u: update all inputs 7 update: 8 nix flake update 9 10 [private] 11 alias b := build 12 - # b: build the configuration 13 build: 14 nh os build . 15 16 boot: 17 nh os boot . 18 19 [private] 20 alias s := switch 21 - # s: activate configuration & add to boot menu 22 switch: 23 nh os switch --ask . 24 25 [private] 26 alias c := check 27 - # c: run flake checks, including making sure `.#repl` and the system config evaluate 28 check: 29 nix flake check .# --show-trace 30 31 [private] 32 alias f := format 33 - # f: run nix fmt on the flake 34 format: 35 nix fmt 36 37 [private] 38 alias gc := garbage-collect 39 - # gc: Run nix collect-garbage -d 40 garbage-collect: 41 nh clean all 42
··· 3 4 [private] 5 alias u := update 6 + # u: update all inputs 7 update: 8 nix flake update 9 10 [private] 11 alias b := build 12 + # b: build the configuration 13 build: 14 nh os build . 15 16 + [private] 17 + alias bt := boot 18 + # bt: make the configuration the boot default without activating it 19 boot: 20 nh os boot . 21 22 [private] 23 alias s := switch 24 + # s: activate configuration & add to boot menu 25 switch: 26 nh os switch --ask . 27 28 [private] 29 alias c := check 30 + # c: run all flake checks, including making sure all system configs evaluate 31 check: 32 nix flake check .# --show-trace 33 34 [private] 35 alias f := format 36 + # f: format this flake 37 format: 38 nix fmt 39 40 [private] 41 alias gc := garbage-collect 42 + # gc: run a garbage collection 43 garbage-collect: 44 nh clean all 45