flake.nix: cleanup
This commit is contained in:
parent
9c7d13c70c
commit
cd63abe198
1 changed files with 0 additions and 15 deletions
15
flake.nix
15
flake.nix
|
@ -2,7 +2,6 @@
|
|||
description = "My NixOS config flake";
|
||||
outputs = inputs: let
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
user = import ./modules/user {inherit pkgs;};
|
||||
eachSystem = inputs.nixpkgs.lib.genAttrs (import inputs.systems);
|
||||
pkgsFor = inputs.nixpkgs.legacyPackages;
|
||||
in {
|
||||
|
@ -11,20 +10,12 @@
|
|||
devShells.x86_64-linux.default = pkgs.callPackage ./shell.nix {};
|
||||
|
||||
formatter.x86_64-linux = pkgs.alejandra;
|
||||
# packages.x86_64-linux = {inherit (user) packages;};
|
||||
|
||||
packages = eachSystem (
|
||||
system: {
|
||||
inherit (import ./packages pkgsFor.${system}) helix fish;
|
||||
}
|
||||
);
|
||||
# packages = eachSystem (
|
||||
# system: let
|
||||
# user = import ./modules/user {pkgs = pkgsFor.${system};};
|
||||
# in {
|
||||
# inherit (user) packages;
|
||||
# }
|
||||
# );
|
||||
|
||||
apps = eachSystem (system: let
|
||||
user = import ./modules/user {pkgs = pkgsFor.${system};};
|
||||
|
@ -38,12 +29,6 @@
|
|||
program = "${user.packages.helix}/bin/hx";
|
||||
};
|
||||
});
|
||||
# nixosModules = eachSystem (system: let
|
||||
# user = import ./modules/user {inherit inputs;};
|
||||
# in {
|
||||
# user = user.module;
|
||||
# });
|
||||
# nixosModules.user = user.module;
|
||||
};
|
||||
inputs = {
|
||||
# Unstable nixpkgs baby!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue