copy based off current configuration.nix
This commit is contained in:
commit
ba1f4a32c4
2 changed files with 76 additions and 0 deletions
41
flake.lock
generated
Normal file
41
flake.lock
generated
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixos-hardware": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1688966833,
|
||||||
|
"narHash": "sha256-9ilzbSwArZmDjT/g1XYD+KYOFfmoS0WOYXSQBvZDIv4=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"rev": "f0984a5a303659bc9b73895c82a85fdfae40b87a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1688981480,
|
||||||
|
"narHash": "sha256-AYgIAotBA5C+55PjXKck8cpDgWYrUYsTMpMxH1bZ7/M=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "b9ebd80c7dbcdec2240c5baae334365eaf3d7230",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixos-hardware": "nixos-hardware",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
35
flake.nix
Normal file
35
flake.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
description = "we say NO to shitty OSes";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = { pkgs, ... }@inputs:
|
||||||
|
let
|
||||||
|
base = ./systems/BASED.nix;
|
||||||
|
nixos-hw = inputs.nixos-hardware.nixosModules;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
nixosConfigurations = {
|
||||||
|
NOcomputer = pkgs.lib.nixosSystem [
|
||||||
|
base
|
||||||
|
nixos-hw.common-cpu-amd
|
||||||
|
nixos-hw.common-gpu-nvidia
|
||||||
|
./systems/NOcomputer.nix
|
||||||
|
./uwuraid.nix
|
||||||
|
./gaming.nix
|
||||||
|
./users/tao.nix
|
||||||
|
];
|
||||||
|
NOlaptop = pkgs.lib.nixosSystem [
|
||||||
|
# inputs.nixos-hardware.nixosModules.framework
|
||||||
|
base
|
||||||
|
./systems/NOlaptop.nix
|
||||||
|
./uwuraid.nix
|
||||||
|
./gaming.nix
|
||||||
|
./users/tao.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue