mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
30
flake.nix
30
flake.nix
@@ -24,19 +24,20 @@
|
||||
outputs =
|
||||
inputs@{ nixpkgs, home-manager, sops-nix, hyprland, spicetify-nix, ... }: {
|
||||
nixosConfigurations = {
|
||||
|
||||
nixy = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
./nixos/fonts.nix
|
||||
./nixos/tuigreet.nix
|
||||
./hosts/laptop/configuration.nix
|
||||
./hosts/laptop/fonts.nix
|
||||
./hosts/laptop/tuigreet.nix
|
||||
{ _module.args = { inherit inputs; }; }
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users."hadi" = import ./home/home.nix; # CHANGE ME
|
||||
users."hadi" = import ./home/laptop.nix; # CHANGE ME
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit spicetify-nix;
|
||||
@@ -47,6 +48,27 @@
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
heaven = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/server/configuration.nix
|
||||
{ _module.args = { inherit inputs; }; }
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users."hadi" = import ./home/server.nix; # CHANGE ME
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
inherit sops-nix;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user