a very large amount of testing took place, adding librewolf is proving to be a pain since the unstable version fails to build

This commit is contained in:
Gabriella Bere 2024-08-26 19:58:51 +01:00
parent f3a2d6c808
commit 501935bab6
5 changed files with 105 additions and 49 deletions

View file

@ -1,5 +1,5 @@
{
description = "main system configuration flake";
description = "main system and home configuration flake";
inputs = {
# NixOS official package source, using the nixos-24.05 branch as stable and nixos-unstable as default
@ -24,21 +24,22 @@
outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs:
let
inherit (self) outputs;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
stable = stablepkgs.legacyPacakges.${system};
stablepkgs = stablepkgs.legacyPacakges.${system};
in
{
nixosConfigurations.gabbielaptop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
inherit system;
specialArgs = { inherit inputs; };
modules = [
# Import nixos modules here
./hosts/gabbielaptop/configuration.nix
./modules/nh.nix
./modules/waydroid.nix
# Imports home-manager module for use within nixos
./modules/packages.nix
# Imports home-manager module for use within nixos, not reccomended for use WITH standalone version
# inputs.home-manager.nixosModules.default
];
};
@ -46,10 +47,11 @@
# Standalone home-manager config
homeConfigurations.blue = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = { inherit inputs outputs; };
extraSpecialArgs = { inherit inputs; };
# Import home-manager modules here
modules = [
./home-manager/home.nix
# ./home-manager/librewolf.nix
inputs.anyrun.homeManagerModules.default
inputs.flatpaks.homeManagerModules.default
];