make it importable
This commit is contained in:
parent
f44e89256a
commit
ca07a6a3e9
1 changed files with 4 additions and 38 deletions
42
flake.nix
42
flake.nix
|
|
@ -1,46 +1,12 @@
|
|||
{
|
||||
description = "NixOS-95";
|
||||
description = "NixOS-95: To Style your NixOS to look like Windows95";
|
||||
|
||||
################################################################
|
||||
# 🔗 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";
|
||||
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
};
|
||||
|
||||
################################################################
|
||||
# 🚀 Outputs
|
||||
################################################################
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
...
|
||||
}: {
|
||||
|
||||
outputs = { self, nixpkgs, ... }: {
|
||||
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
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue