started janus config
This commit is contained in:
25
modules/hosts/janus.nix
Normal file
25
modules/hosts/janus.nix
Normal file
@@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user