diff options
| author | outremonde <outremonde@vivaldi.net> | 2025-06-10 20:32:00 -0400 |
|---|---|---|
| committer | outremonde <outremonde@vivaldi.net> | 2025-06-10 20:32:00 -0400 |
| commit | 9786eb8672213344d8d1b7bdef12bc94510b20db (patch) | |
| tree | b7d79440800c92d32187ab32c636b0830c94a610 /flake.nix | |
initialized repository
Former-commit-id: 84647f22b951a957b2b83885b612115d473f6626
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..d29e8ef --- /dev/null +++ b/flake.nix @@ -0,0 +1,53 @@ +{ + description = "System Flake"; + + outputs = inputs: let + helper = import ./lib/helper.nix {inherit inputs;}; + in { + # NixOS Configurations + nixosConfigurations = { + "nzxt-desktop" = helper.mkSystem "nzxt-desktop" "x86_64-linux"; + "ideapad-laptop" = helper.mkSystem "ideapad-laptop" "x86_64-linux"; + "prodesk-server" = helper.mkSystem "prodesk-server" "x86_64-linux"; + "steam-deck" = helper.mkSystem "steam-deck" "x86_64-linux"; + }; + + # Home Manager Configurations + homeConfigurations = { + "culsans@nzxt-desktop" = helper.mkHome "culsans" "nzxt-desktop" "x86_64-linux"; + "lucas@ideapad-laptop" = helper.mkHome "lucas" "ideapad-laptop" "x86_64-linux"; + "server@prodesk-server" = helper.mkHome "server" "prodesk-server" "x86_64-linux"; + "culsans@steam-deck" = helper.mkHome "culsans" "steam-deck" "x86_64-linux"; + }; + + # Packages + packages = helper.customPackages; + }; + + inputs = { + # Essential (Nix Ecosystem) + + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + + home-manager = { + url = "github:nix-community/home-manager/master"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + jovian.url = "github:Jovian-Experiments/Jovian-NixOS"; # nixos on steam deck + + agenix.url = "github:ryantm/agenix"; + + # Nonessential + + mnw.url = "github:Gerg-L/mnw"; + + niri.url = "github:sodiboo/niri-flake"; + + nix-minecraft.url = "github:Infinidoge/nix-minecraft"; + + ignis.url = "github:linkfrg/ignis"; + + nix-flatpak.url = "github:gmodena/nix-flatpak"; + }; +} |
