NOflake/flake.nix

57 lines
1.6 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
system = "x86_64-linux";
2023-07-19 00:52:04 -07:00
overlay-unstable = final: prev: {
unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
2023-07-19 00:52:04 -07:00
};
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
2023-07-23 20:21:08 -07:00
./users/tao.nix
2023-07-23 20:26:39 -07:00
./extras/uwuraid.nix
./extras/dev.nix
./extras/gaming.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
2023-07-23 20:21:08 -07:00
./users/tao.nix
2023-07-23 20:26:39 -07:00
./extras/uwuraid.nix
./extras/dev.nix
./extras/gaming.nix
];
2023-09-28 23:33:56 -07:00
NObangers = nixosSystem [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./systems/BASED.nix
./systems/NObangers.nix
./extras/uwuraid.nix
];
};
2023-07-11 00:38:39 -07:00
};
}