very basic boilerplate, define the 2 main hosts as part of this configuration, absolution (alyx main desktop) and apollo (maya main desktop)
This commit is contained in:
parent
c7ed3e0745
commit
149918fdbc
1 changed files with 64 additions and 0 deletions
64
flake.nix
Normal file
64
flake.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{
|
||||
description = "a shared collection of dots by cydiralis and beanigen";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
|
||||
nixvim.url = "github:nix-community/nixvim";
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
system-manager.url = "github:numtide/system-manager";
|
||||
system-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nix-system-graphics.url = "github:soupglasses/nix-system-graphics";
|
||||
nix-system-graphics.inputs.nixpkgs.follows = "nixpkgs";
|
||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, system-manager, niri, nixpkgs-xr, jovian, ...}:{
|
||||
nixosConfigurations."Absolution" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./base/Absolution
|
||||
nixpkgs-xr.nixosModules.nixpkgs-xr
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
vars = {
|
||||
isNixOS = true;
|
||||
class = "desktop";
|
||||
user = "alyx";
|
||||
};
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.alyx = ./home;
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations."apollo" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./base/apollo
|
||||
nixpkgs-xr.nixosModules.nixpkgs-xr
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
vars = {
|
||||
isNixOS = true;
|
||||
class = "desktop";
|
||||
user = "maya";
|
||||
useSyncthing = true;
|
||||
};
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPkgs = true;
|
||||
home-manager.users.maya = ./home;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue