mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-11 15:18:56 -05:00
alejandra formatting ftw
This commit is contained in:
parent
ab483276f1
commit
5e29a554ea
22 changed files with 738 additions and 651 deletions
60
flake.nix
60
flake.nix
|
|
@ -1,35 +1,35 @@
|
|||
{
|
||||
description = "Entry point for NixOS";
|
||||
description = "Entry point for NixOS";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nur.url = "github:nix-community/NUR";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
nixvim.url = "git+https://git.wanderingcrow.net/TheWanderingCrow/nvix";
|
||||
alejandra.url = "github:kamadorueda/alejandra/3.1.0";
|
||||
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nur.url = "github:nix-community/NUR";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
nixvim.url = "git+https://git.wanderingcrow.net/TheWanderingCrow/nvix";
|
||||
alejandra.url = "github:kamadorueda/alejandra/3.1.0";
|
||||
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
system = "x86_64-linux";
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
|
||||
overlays = [inputs.nur.overlay];
|
||||
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system overlays;
|
||||
config.allowUnfree = true;
|
||||
config.android_sdk.accept_license = true;
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
system = "x86_64-linux";
|
||||
inherit (inputs.nixpkgs) lib;
|
||||
|
||||
overlays = [ inputs.nur.overlay ];
|
||||
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system overlays;
|
||||
config.allowUnfree = true;
|
||||
config.android_sdk.accept_license = true;
|
||||
};
|
||||
|
||||
ns = host: (lib.nixosSystem {
|
||||
specialArgs = {inherit pkgs inputs;};
|
||||
modules = [
|
||||
(./hosts + "/${host}")
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
});
|
||||
in {nixosConfigurations = lib.attrsets.genAttrs [ "Parzival" "Parzival-Mobile" "WCE-Overseer" ] ns;};
|
||||
ns = host: (lib.nixosSystem {
|
||||
specialArgs = {inherit pkgs inputs;};
|
||||
modules = [
|
||||
(./hosts + "/${host}")
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
];
|
||||
});
|
||||
in {nixosConfigurations = lib.attrsets.genAttrs ["Parzival" "Parzival-Mobile" "WCE-Overseer"] ns;};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue