prepare for multiple home-manager configs
This commit is contained in:
80
flake.nix
80
flake.nix
@@ -59,7 +59,7 @@
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... } @ inputs: {
|
||||
outputs = { self, nixpkgs, home-manager, ... } @ inputs: {
|
||||
|
||||
tokyo-night-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
|
||||
|
||||
@@ -88,43 +88,57 @@
|
||||
};
|
||||
|
||||
|
||||
nixosConfigurations.homebox = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/default.nix;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
nixosConfigurations = {
|
||||
|
||||
homebox = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/nathan;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/homebox
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/nathan;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/laptop
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
live = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/nathan;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/live
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/homebox
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.laptop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/default.nix;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/laptop
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
nixosConfigurations.live = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inputs = inputs // {
|
||||
nathan-home-manager = import ./home-manager/default.nix;
|
||||
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
|
||||
};
|
||||
homeConfigurations = {
|
||||
|
||||
"nix-on-droid" = home-manager.lib.homeManagerConfiguration {
|
||||
|
||||
pkgs = import nixpkgs { system = "arm64-linux"; };
|
||||
|
||||
modules = [ ./home-manager/nathan ];
|
||||
};
|
||||
modules = [
|
||||
./system-config/configuration/live
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user