NixOS-95/flake.nix
gytic 6a9de226ef feat(nixos-95): extract DE themining into nixosModule
the desktop environment can be included via `self.nixosModules.nixos95`

this will expose two options (for now):
nixos95.enable -> enable the desktop environment
nixos95.wallpaper -> path to the wallpaper to use

currently the setup is closy coupled to this configuration,
which will change in the future, so it can be used with any configuration
2025-07-25 18:04:18 +02:00

46 lines
1.1 KiB
Nix

{
description = "NixOS-95";
################################################################
# 🔗 Inputs
################################################################
inputs = {
# Core NixOS packages
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# Home Manager
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
################################################################
# 🚀 Outputs
################################################################
outputs = inputs @ {
self,
nixpkgs,
home-manager,
...
}: {
nixosModules.nixos95 = import ./nixos95;
nixosConfigurations = {
############################################################
# 💻 Default Host
############################################################
default = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs self;
host = "default";
};
modules = [
./Configurations/Hosts/Default/configuration.nix
];
};
};
};
}