modules #2

Merged
ant merged 5 commits from modules into master 2025-09-03 16:36:45 +02:00
2 changed files with 50 additions and 86 deletions
Showing only changes of commit 210b1b435c - Show all commits

132
flake.nix
View file

@ -32,97 +32,59 @@
./os/${name}/configuration.nix ./os/${name}/configuration.nix
]; ];
}; };
homeConfig = modules: inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit pkgs-unstable;
inherit inputs;
};
inherit modules;
};
in in
{ {
homeConfigurations."anvaure@Allegro23-12" = inputs.home-manager.lib.homeManagerConfiguration { homeConfigurations."anvaure@Allegro23-12" = homeConfig [
inherit pkgs; { home.username = "anvaure"; }
./home/base.nix
./home/ui.nix
./home/gui-software.nix
./home/syncthing.nix
./home/allegro.nix
{ home.packages = [ nixgl.nixGLIntel ]; }
{ targets.genericLinux.enable = true; }
];
extraSpecialArgs = { homeConfigurations."ant@hs" = homeConfig [
inherit pkgs-unstable; { home.username = "ant"; }
}; ./home/base.nix
];
modules = [ homeConfigurations."ant@ks" = homeConfig [
{ home.username = "anvaure"; } { home.username = "ant"; }
./home/base.nix ./home/base.nix
{ home.packages = [ nixgl.nixGLIntel ]; } ];
{ targets.genericLinux.enable = true; }
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
./home/syncthing.nix
./home/allegro.nix
./home/ui.nix homeConfigurations."ant@basado" = homeConfig [
./home/gui-software.nix { home.username = "ant"; }
]; ./home/base.nix
}; ./home/ui.nix
./home/gui-software.nix
./home/gaming.nix
./home/syncthing.nix
{ services.kdeconnect.enable = true; }
./home/basado.nix
];
homeConfigurations."ant@hs" = inputs.home-manager.lib.homeManagerConfiguration { homeConfigurations."ant@moon" = homeConfig [
inherit pkgs; { home.username = "ant"; }
./home/base.nix
extraSpecialArgs = { ./home/ui.nix
inherit pkgs-unstable; ./home/gui-software.nix
}; ./home/syncthing.nix
{ services.kdeconnect.enable = true; }
modules = [ ./home/moon.nix
{ home.username = "ant"; } ];
./home/base.nix
];
};
homeConfigurations."ant@ks" = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit pkgs-unstable;
};
modules = [
{ home.username = "ant"; }
./home/base.nix
];
};
homeConfigurations."ant@basado" = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit pkgs-unstable;
inherit inputs;
};
modules = [
{ home.username = "ant"; }
./home/base.nix
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
./home/syncthing.nix
./home/basado.nix
./home/ui.nix
./home/gui-software.nix
./home/gaming.nix
{ services.kdeconnect.enable = true; }
];
};
homeConfigurations."ant@moon" = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {
inherit pkgs-unstable;
inherit inputs;
};
modules = [
{ home.username = "ant"; }
./home/base.nix
{ home.packages = [ inputs.st-flexipatch.packages.${system}.st ]; }
./home/syncthing.nix
./home/moon.nix
./home/ui.nix
./home/gui-software.nix
{ services.kdeconnect.enable = true; }
];
};
nixosConfigurations.basado = osConfig "basado"; nixosConfigurations.basado = osConfig "basado";
nixosConfigurations.moon = osConfig "moon"; nixosConfigurations.moon = osConfig "moon";

View file

@ -1,4 +1,4 @@
{ lib, config, options, pkgs, ... }: { lib, config, options, pkgs, inputs, ... }:
let let
defaultTerminal = "st"; defaultTerminal = "st";
alacrittyLightTheme = "${pkgs.alacritty-theme}/night_owlish_light.toml"; alacrittyLightTheme = "${pkgs.alacritty-theme}/night_owlish_light.toml";
@ -114,6 +114,8 @@ in
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
inputs.st-flexipatch.packages.${system}.st
gentium gentium
nerd-fonts.noto nerd-fonts.noto
nerd-fonts.hack nerd-fonts.hack