This commit is contained in:
Tao Tien 2023-07-11 00:38:39 -07:00
parent ba1f4a32c4
commit a58f8530b7
8 changed files with 219 additions and 9 deletions

View file

@ -2,17 +2,22 @@
description = "we say NO to shitty OSes";
inputs = {
nixpkgs.url = "github:Nixos/nixpkgs/nixos-23.05";
nixos-hardware.url = "github:NixOS/nixos-hardware";
};
outputs = { pkgs, ... }@inputs:
outputs = { nixpkgs, ... }@inputs:
let
# pkgs = import nixpkgs {
# config.allowUnfree = true;
# };
nixosSystem = (systemModules: inputs.nixpkgs.lib.nixosSystem { modules = systemModules; });
base = ./systems/BASED.nix;
nixos-hw = inputs.nixos-hardware.nixosModules;
in
{
nixosConfigurations = {
NOcomputer = pkgs.lib.nixosSystem [
NOcomputer = nixosSystem [
base
nixos-hw.common-cpu-amd
nixos-hw.common-gpu-nvidia
@ -21,7 +26,7 @@
./gaming.nix
./users/tao.nix
];
NOlaptop = pkgs.lib.nixosSystem [
NOlaptop = nixosSystem [
# inputs.nixos-hardware.nixosModules.framework
base
./systems/NOlaptop.nix
@ -31,5 +36,6 @@
];
};
};
}