Simplify build systems

This commit is contained in:
DashieTM 2024-09-08 19:09:35 +02:00
parent b994e4698c
commit 9535108bb7
6 changed files with 94 additions and 131 deletions

View file

@ -5,9 +5,7 @@
nixpkgs.url = "github:NixOs/nixpkgs/nixos-unstable";
stable.url = "github:NixOs/nixpkgs/nixos-24.05";
nix-flatpak = {
url = "github:gmodena/nix-flatpak";
};
nix-flatpak = { url = "github:gmodena/nix-flatpak"; };
home-manager = {
url = "github:nix-community/home-manager";
@ -25,7 +23,8 @@
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
ironbar = {
url = "github:JakeStanger/ironbar?ref=3a1c60442382f970cdb7669814b6ef3594d9f048";
url =
"github:JakeStanger/ironbar?ref=3a1c60442382f970cdb7669814b6ef3594d9f048";
};
stylix.url = "github:danth/stylix";
@ -48,14 +47,11 @@
};
};
outputs =
{ self, ... }@inputs:
outputs = { self, ... }@inputs:
let
stable = import inputs.stable {
system = "x86_64-linux";
config = {
allowUnfree = true;
};
config = { allowUnfree = true; };
};
pkgs = import inputs.nixpkgs {
system = "x86_64-linux";
@ -65,8 +61,7 @@
allowUnfree = true;
};
};
in
rec {
in rec {
dashNixLib = import ./lib {
inherit self inputs pkgs;
lib = inputs.nixpkgs.lib;