mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
82 lines
2.8 KiB
Nix
82 lines
2.8 KiB
Nix
{
|
|
# https://github.com/anotherhadi/nixy
|
|
description = ''
|
|
Nixy is a NixOS configuration with home-manager, secrets and custom theming all in one place.
|
|
It's a simple way to manage your system configuration and dotfiles.
|
|
'';
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
spicetify-nix = {
|
|
url = "github:Gerg-L/spicetify-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hyprspace = { url = "github:KZDKM/Hyprspace"; };
|
|
nixy-wallpapers = {
|
|
url = "github:anotherhadi/nixy-wallpapers";
|
|
flake = false;
|
|
};
|
|
# FIXME: This is a temporary fix until the flake is fixed
|
|
hyprland.url =
|
|
"git+https://github.com/hyprwm/Hyprland?submodules=1&ref=refs/heads/main&rev=6a8c756ba1f2b3ccb0cfa8192ccdb2f6490b0512";
|
|
hyprpolkitagent.url = "github:hyprwm/hyprpolkitagent";
|
|
hyprpanel.url = "github:Jas-SinghFSU/HyprPanel";
|
|
stylix.url = "github:danth/stylix";
|
|
apple-fonts.url = "github:Lyndeno/apple-fonts.nix";
|
|
pia = {
|
|
url = "github:Fuwn/pia.nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nur.url = "github:nix-community/NUR";
|
|
zen-browser.url =
|
|
"git+https://git.sr.ht/~canasta/zen-browser-flake/"; # updated flake
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, ... }: {
|
|
nixosConfigurations = {
|
|
nixy = # CHANGEME: This should match the 'hostname' in your variables.nix file
|
|
nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
{
|
|
nixpkgs.overlays =
|
|
[ inputs.hyprpanel.overlay inputs.nur.overlay ];
|
|
_module.args = { inherit inputs; };
|
|
}
|
|
inputs.nixos-hardware.nixosModules.omen-16-n0005ne # CHANGEME: check https://github.com/NixOS/nixos-hardware
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.stylix.nixosModules.stylix
|
|
inputs.pia.nixosModules."x86_64-linux".default
|
|
./hosts/laptop/configuration.nix # CHANGEME: change the path to match your host folder
|
|
];
|
|
};
|
|
|
|
desktop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
{
|
|
nixpkgs.overlays = [ inputs.hyprpanel.overlay inputs.nur.overlay ];
|
|
_module.args = { inherit inputs; };
|
|
}
|
|
inputs.home-manager.nixosModules.home-manager
|
|
inputs.stylix.nixosModules.stylix
|
|
./hosts/desktop/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|