add os config

This commit is contained in:
ant 2025-05-21 22:58:44 +02:00
parent d8d692d313
commit 33bf5ec883
30 changed files with 271 additions and 5 deletions

View file

@ -15,7 +15,7 @@
st-flexipatch.url = "https://git.antoinevaure.fr/ant/st-flexipatch/archive/master.zip";
};
outputs = { ... }@inputs:
outputs = { nixpkgs, ... }@inputs:
let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
@ -33,7 +33,7 @@
modules = [
{ home.username = "anvaure"; }
./home.nix
./home/home.nix
{ home.packages = [ nixgl.nixGLIntel ]; }
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
];
@ -50,25 +50,34 @@
modules = [
{ home.username = "ant"; }
./home.nix
./home/home.nix
];
};
homeConfigurations."ant@nixos" =
homeConfigurations."ant@basado" =
inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit pkgs-unstable;
variant = "default";
inherit inputs;
};
modules = [
{ home.username = "ant"; }
./home.nix
./home/home.nix
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
{ wayland.windowManager.hyprland.package = pkgs-unstable.hyprland; }
];
};
nixosConfigurations.basado = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./os/configuration.nix
]
;
};
};
}