diff --git a/modules/hosts/janus.nix b/modules/hosts/janus.nix new file mode 100644 index 0000000..ab9ee77 --- /dev/null +++ b/modules/hosts/janus.nix @@ -0,0 +1,25 @@ +{ inputs, ... }: +let + hostname = "janus"; + username ="john"; +in +{ + flake.modules.nixos."${hostname}" = { pkgs, ... }: { + imports = [ + inputs.self.modules.nixos.lxc + inputs.self.modules.nixos."${username}" + ]; + home-manager.users."${username}" = { + imports = [ + # inputs.self.homeModules."${username}" + ]; + }; + }; + + flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem { + modules = [ + inputs.self.modules.nixos."${hostname}" + inputs.home-manager.nixosModules.home-manager + ]; + }; +} \ No newline at end of file