NOflake/flake.nix

74 lines
2.8 KiB
Nix
Raw Normal View History

{
description = "we say NO to shitty OSes";
inputs = {
2024-01-29 17:28:38 -08:00
# nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs.url = "nixpkgs/nixos-unstable";
2023-07-19 00:52:04 -07:00
nixos-hardware.url = "nixos-hardware";
2023-10-01 01:09:58 -07:00
nixos-raspberrypi.url = "github:ramblurr/nixos-raspberrypi";
2024-01-29 17:28:38 -08:00
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2024-02-01 19:24:36 -08:00
helix.url = "github:helix-editor/helix";
helix.inputs.nixpkgs.follows = "nixpkgs";
# hyprland.url = "github:hyprwm/Hyprland";
# aagl.url = "github:ezKEa/aagl-gtk-on-nix";
# aagl.inputs.nixpkgs.follows = "nixpkgs";
2024-01-29 17:28:38 -08:00
# prescurve.url = "github:taotien/prescurve";
# prescurve.inputs.nixpkgs.follows = "nixpkgs";
};
2024-02-01 10:30:02 -08:00
nixConfig = {
2024-02-01 19:24:36 -08:00
# extra-substituters = [ "https://hyprland.cachix.org" "https://ezkea.cachix.org" ];
# extra-trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" ];
2024-02-01 10:30:02 -08:00
extra-substituters = [ "https://hyprland.cachix.org" ];
extra-trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
};
2024-02-01 19:24:36 -08:00
# outputs = { self, nixpkgs, nixos-hardware, nixos-raspberrypi, home-manager, helix, aagl, ... }@inputs:
outputs = { self, nixpkgs, nixos-hardware, nixos-raspberrypi, home-manager, helix, ... }@inputs:
2024-01-29 17:28:38 -08:00
{
nixosConfigurations = {
2024-01-31 17:34:09 -08:00
NOcomputer = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2024-02-01 19:24:36 -08:00
specialArgs = { inherit inputs; };
2024-01-31 17:34:09 -08:00
modules = [
nixos-hardware.nixosModules.common-cpu-amd
nixos-hardware.nixosModules.common-gpu-nvidia-nonprime
./systems/BASED.nix
./systems/NOcomputer.nix
./users/tao.nix
home-manager.nixosModules.home-manager
./extras/uwuraid.nix
./extras/dev.nix
./extras/gaming.nix
];
};
2024-01-29 17:28:38 -08:00
NOlaptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
2024-02-01 19:24:36 -08:00
specialArgs = { inherit inputs; };
2024-01-29 17:28:38 -08:00
modules = [
2024-01-29 18:09:14 -08:00
nixos-hardware.nixosModules.common-cpu-intel
# inputs.nixos-hardware.nixosModules.framework
./systems/BASED.nix
./systems/NOlaptop.nix
2024-01-30 09:32:08 -08:00
./users/tao.nix
2024-01-29 18:09:14 -08:00
home-manager.nixosModules.home-manager
./extras/uwuraid.nix
./extras/dev.nix
./extras/gaming.nix
2024-01-29 17:28:38 -08:00
];
};
2024-01-28 19:54:19 -08:00
# NObangers = nixos-system [
# # ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable-arm ]; })
# nixos-hw.raspberry-pi-4
# nixos-rpi.hardware
# ./systems/BASED.nix
# ./systems/NObangers.nix
# ./users/pi.nix
# ./extras/uwuraid.nix
# ];
};
};
}