added aqore-nix & changed nginx settings ebat ego v rot
This commit is contained in:
parent
032a5f4b04
commit
7e2f7a341a
24 changed files with 573 additions and 90 deletions
40
flake.nix
40
flake.nix
|
|
@ -11,10 +11,22 @@
|
|||
url = "github:nix-community/home-manager/release-25.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
winapps = {
|
||||
url = "github:winapps-org/winapps";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, project-a-software, home-manager, secret, ... }:
|
||||
let
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-unstable,
|
||||
project-a-software,
|
||||
home-manager,
|
||||
winapps,
|
||||
secret,
|
||||
...
|
||||
}: let
|
||||
linux64 = "x86_64-linux";
|
||||
nixosServer = { name, system ? linux64, modules ? [] }:
|
||||
nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -30,9 +42,31 @@
|
|||
in {
|
||||
nixosConfigurations = {
|
||||
artemisia = nixosServer { name = "artemisia"; modules = [ project-a-software.marzban ]; };
|
||||
reine = nixosServer { name = "reine"; };
|
||||
reine = nixosServer { name = "reine"; modules = [ project-a-software.affine ]; };
|
||||
mio = nixosServer { name = "mio"; modules = [ project-a-software.marzban ]; };
|
||||
vanessa = nixosServer { name = "vanessa"; modules = [ project-a-software.marzban ]; };
|
||||
|
||||
aqore-nix = nixpkgs.lib.nixosSystem {
|
||||
system = linux64;
|
||||
specialArgs = {
|
||||
inherit winapps;
|
||||
pkgs-unstable = nixpkgs-unstable.legacyPackages.${linux64};
|
||||
};
|
||||
modules = [
|
||||
./desktops/aqore-nix/main.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.almiriqi = ./desktops/users/almiriqi/home.nix;
|
||||
}
|
||||
({ pkgs, ... }: {
|
||||
environment.systemPackages = [
|
||||
winapps.packages."${linux64}".winapps
|
||||
winapps.packages."${linux64}".winapps-launcher
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue