# Windows XP theme for NixOS

- This is repository containing packaged version of themes, icons, cursors, etc... for NixOS and module to simply use them with Mate desktop

## Installation

- Supported via NixOS modules with flakes

```nix
{
  description = "Your system flake with Windows XP theme";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";

    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    # Add this to your inputs
    windows-theme = {
      url = "git+https://gitea.homework.zip/shinya/Windows-Theme-Flake";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  # Add explicit function parameter windows-theme to the output
  outputs = { self, nixpkgs, windows-theme, ... }@inputs: let
    system = "x86_64-linux";
  in  {
    nixosConfigurations.nixp = nixpkgs.lib.nixosSystem {
      inherit system;
      specialArgs = {inherit windows-theme system;}; # Append windows-theme and system to the inherited args
      modules = [
        ./configuration.nix
        inputs.windows-theme.nixosModules.default # This will add configuration options to your config
        inputs.home-manager.nixosModules.home-manager
      ];
    };

  };
}
```

- Then in your config you can enable it with:

```nix
nixp.mate.enable = true;
```

- More options will be added soon
