NOflake/flake.nix

45 lines
1.3 KiB
Nix
Raw Normal View History

{
description = "we say NO to shitty OSes";
inputs = {
2023-07-19 00:52:04 -07:00
nixpkgs.url = "nixpkgs/nixos-23.05";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
nixos-hardware.url = "nixos-hardware";
};
2023-07-19 00:52:04 -07:00
outputs = { nixpkgs, nixos-hardware, nixpkgs-unstable, ... }:
let
2023-07-19 00:52:04 -07:00
overlay-unstable = final: prev: {
unstable = nixpkgs-unstable.legacyPackages.x86_64-linux;
};
nixosSystem = (systemModules: nixpkgs.lib.nixosSystem { modules = systemModules; });
nixos-hw = nixos-hardware.nixosModules;
in
{
nixosConfigurations = {
2023-07-11 00:38:39 -07:00
NOcomputer = nixosSystem [
2023-07-19 00:52:04 -07:00
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
nixos-hw.common-cpu-amd
2023-07-11 01:42:10 -07:00
nixos-hw.common-gpu-nvidia-nonprime
./systems/BASED.nix
./systems/NOcomputer.nix
./uwuraid.nix
./gaming.nix
./users/tao.nix
];
2023-07-11 00:38:39 -07:00
NOlaptop = nixosSystem [
2023-07-19 00:52:04 -07:00
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
2023-07-17 16:41:11 -07:00
nixos-hw.common-cpu-intel
# inputs.nixos-hardware.nixosModules.framework
2023-07-11 01:42:10 -07:00
./systems/BASED.nix
./systems/NOlaptop.nix
./uwuraid.nix
./gaming.nix
./users/tao.nix
];
};
2023-07-11 00:38:39 -07:00
};
}