flake updates - calufrax addition - possibly not being updated more because i am not planning to use nixos for much longer but keeping this here for the poss i do
This commit is contained in:
parent
fb4ad07620
commit
5683ef172f
9 changed files with 485 additions and 149 deletions
37
flake.nix
37
flake.nix
|
|
@ -8,12 +8,23 @@
|
|||
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
|
||||
zen-browser = {
|
||||
url = "github:0xc000022070/zen-browser-flake";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
home-manager.follows = "home-manager";
|
||||
};
|
||||
};
|
||||
nixvim.url = "github:nix-community/nixvim";
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
jovian.url = "github:Jovian-Experiments/Jovian-NixOS";
|
||||
mango = {
|
||||
url = "github:DreamMaoMao/mango";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, niri, nixpkgs-xr, jovian, ...}:{
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, niri, nixpkgs-xr, jovian, mango, ...}:{
|
||||
nixosConfigurations."absolution" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
|
@ -38,6 +49,30 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations."calufrax" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./base/calufrax
|
||||
mango.nixosModules.mango
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
vars = {
|
||||
isNixOS = true;
|
||||
isBritish = true;
|
||||
useSyncthing = false;
|
||||
class = "desktop";
|
||||
user = "alyx";
|
||||
};
|
||||
};
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.sharedModules = [{ imports = with inputs; [ mango.hmModules.mango nix-index-database.homeModules.nix-index nixvim.homeModules.nixvim niri.homeModules.niri ];}];
|
||||
home-manager.users.alyx = ./home;
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations."patio" = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit inputs; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue