Reorganized flake.nix
This commit is contained in:
@@ -4,5 +4,5 @@
|
|||||||
deadnix.enable = true;
|
deadnix.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = with pkgs; [nixpkgs-fmt nixfmt];
|
packages = with pkgs; [nixpkgs-fmt nixfmt alejandra deadnix];
|
||||||
}
|
}
|
||||||
|
|||||||
23
flake.nix
23
flake.nix
@@ -29,18 +29,24 @@
|
|||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
Equinox = nixpkgs.lib.nixosSystem {
|
Equinox = nixpkgs.lib.nixosSystem {
|
||||||
|
# System
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Modules
|
||||||
modules = [
|
modules = [
|
||||||
# Theme
|
# Theme Modules
|
||||||
stylix.nixosModules.stylix
|
stylix.nixosModules.stylix
|
||||||
./themes/targets/all.nix
|
./themes/targets/all.nix
|
||||||
./themes/sandstone-forest
|
./themes/sandstone-forest
|
||||||
|
|
||||||
|
# Host Module
|
||||||
./hosts/Equinox
|
./hosts/Equinox
|
||||||
|
|
||||||
|
# Home Manager Modules
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
@@ -49,7 +55,6 @@
|
|||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.panotaka = {
|
home-manager.users.panotaka = {
|
||||||
imports = [./home ./home/shell ./home/desktop];
|
imports = [./home ./home/shell ./home/desktop];
|
||||||
};
|
};
|
||||||
@@ -58,13 +63,24 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
Blackbird = nixpkgs.lib.nixosSystem {
|
Blackbird = nixpkgs.lib.nixosSystem {
|
||||||
|
# System
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Modules
|
||||||
modules = [
|
modules = [
|
||||||
|
# Theme Modules
|
||||||
|
stylix.nixosModules.stylix
|
||||||
|
./themes/targets/all.nix
|
||||||
|
./themes/spaceduck
|
||||||
|
|
||||||
|
# Host Module
|
||||||
./hosts/Blackbird
|
./hosts/Blackbird
|
||||||
|
|
||||||
|
# Home Manager Modules
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
@@ -78,9 +94,6 @@
|
|||||||
imports = [./home ./home/shell ./home/desktop];
|
imports = [./home ./home/shell ./home/desktop];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
stylix.nixosModules.stylix
|
|
||||||
./themes/targets/all.nix
|
|
||||||
./themes/spaceduck
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user