nixos-old/flake.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

2023-02-28 09:33:29 +00:00
{
inputs = {
2023-06-02 11:35:41 +00:00
nixpkgs.url = "nixpkgs/nixos-23.05";
2023-08-14 10:38:13 +00:00
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
2023-07-08 14:01:56 +00:00
mozilla.url = "github:mozilla/nixpkgs-mozilla";
2023-03-24 16:46:51 +00:00
supercolor.url = "github:zoe-bat/supercolor";
kaokao.url = "github:zoe-bat/kaokao";
2023-02-28 09:33:29 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2023-09-04 15:25:16 +00:00
outputs = { self, nixpkgs, home-manager, supercolor, kaokao
2023-08-22 17:58:13 +00:00
, mozilla, nixpkgs-unstable, }@inputs:
2023-08-14 10:38:13 +00:00
let
system = "x86_64-linux";
overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
};
2023-03-26 13:37:29 +00:00
in {
2023-03-09 19:42:06 +00:00
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
2023-08-14 10:38:13 +00:00
inherit system;
2023-03-09 19:42:06 +00:00
modules = [
2023-08-14 10:38:13 +00:00
({ config, pkgs, ... }: {
2023-08-22 17:58:13 +00:00
nixpkgs.overlays =
[ overlay-unstable ];
2023-08-14 10:38:13 +00:00
})
2023-03-09 19:42:06 +00:00
./configuration.nix
];
specialArgs = inputs;
};
homeConfigurations."zoe@bat" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
modules = [ ];
};
2023-02-28 09:33:29 +00:00
};
}