chore!: prepare for multi-host config
This commit is contained in:
parent
98ea8fbe7d
commit
f6f21ba61d
3 changed files with 25 additions and 2 deletions
17
flake.nix
17
flake.nix
|
|
@ -10,10 +10,23 @@
|
|||
outputs =
|
||||
{ nixpkgs, home-manager, ... }:
|
||||
{
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.selune = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
./hosts/selune/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.hms = ./home/home.nix;
|
||||
home-manager.backupFileExtension = "bak";
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations.shar = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/shar/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue