przystosowanie konfiguracji pod siebie

This commit is contained in:
2025-09-18 16:01:58 +02:00
parent be171552d0
commit 0908e9eed6
165 changed files with 1799 additions and 11964 deletions

View File

@@ -14,11 +14,6 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nvf = {
url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
@@ -30,15 +25,6 @@
};
nix-flatpak.url = "github:gmodena/nix-flatpak?ref=latest";
# Hypersysinfo (Optional)
#hyprsysteminfo.url = "github:hyprwm/hyprsysteminfo";
# QuickShell (optional add quickshell to outputs to enable)
#quickshell = {
# url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
# inputs.nixpkgs.follows = "nixpkgs";
#};
};
outputs =
@@ -55,20 +41,22 @@
username = "garand_plg";
# Deduplicate nixosConfigurations while preserving the top-level 'profile'
mkNixosConfig = gpuProfile: nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile; # keep using the let-bound profile for modules/scripts
mkNixosConfig =
gpuProfile:
nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
inherit username;
inherit host;
inherit profile;
inherit system;
};
modules = [
./profiles/${gpuProfile}
nix-flatpak.nixosModules.nix-flatpak
];
};
modules = [
./profiles/${gpuProfile}
nix-flatpak.nixosModules.nix-flatpak
];
};
in
{
nixosConfigurations = {