❄ Personal NixOS Flake Manager
nixos home-manager go nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore(flake): fill out fields

Fuwn 3159828c a2b461f4

+30 -15
+30 -15
flake.nix
··· 37 37 system: 38 38 let 39 39 pkgs = import nixpkgs { inherit system; }; 40 - in 41 - { 42 - packages.default = pkgs.buildGoModule { 40 + 41 + meta = with pkgs.lib; { 42 + description = "Personal NixOS Flake Manager"; 43 + homepage = "https://github.com/Fuwn/rui"; 44 + license = licenses.gpl3; 45 + maintainers = [ maintainers.Fuwn ]; 46 + mainPackage = "rui"; 47 + platforms = platforms.linux; 48 + }; 49 + 50 + rui = pkgs.buildGoModule { 51 + inherit meta; 52 + 43 53 pname = "rui"; 44 54 version = "2024.09.27"; 45 55 src = pkgs.lib.cleanSource ./.; ··· 49 59 "-s" 50 60 "-w" 51 61 ]; 62 + }; 63 + in 64 + { 65 + packages = { 66 + default = rui; 67 + rui = self.packages.${system}.default; 68 + }; 52 69 53 - meta = with pkgs.lib; { 54 - description = "Personal NixOS Flake Manager"; 55 - homepage = "https://github.com/Fuwn/rui"; 56 - license = licenses.gpl3; 57 - maintainers = [ maintainers.Fuwn ]; 58 - mainPackage = "rui"; 59 - platforms = platforms.linux; 70 + apps = { 71 + default = { 72 + inherit meta; 73 + 74 + type = "app"; 75 + program = "${self.packages.${system}.default}/bin/rui"; 60 76 }; 61 - }; 62 77 63 - apps.default = { 64 - type = "app"; 65 - program = "${self.packages.${system}.default}/bin/rui"; 78 + rui = self.apps.${system}.default; 66 79 }; 67 80 68 81 formatter = nixpkgs.legacyPackages."${system}".nixfmt-rfc-style; ··· 81 94 devShells.default = nixpkgs.legacyPackages.${system}.mkShell { 82 95 inherit (self.checks.${system}.pre-commit-check) shellHook; 83 96 84 - buildInputs = self.checks.${system}.pre-commit-check.enabledPackages; 97 + buildInputs = self.checks.${system}.pre-commit-check.enabledPackages ++ [ 98 + pkgs.go_1_22 99 + ]; 85 100 }; 86 101 87 102 homeManagerModules.default =