janus updates
This commit is contained in:
@@ -1,19 +1,23 @@
|
|||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
let
|
let
|
||||||
username ="john";
|
username = "john";
|
||||||
hostname = "janus";
|
hostname = "janus";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
|
flake.nixosConfigurations."${hostname}" = inputs.nixpkgs.lib.nixosSystem {
|
||||||
modules = with inputs.self.modules; [
|
modules = with inputs.self.modules; [
|
||||||
nixos.lxc
|
nixos.lxc
|
||||||
nixos.zsh
|
nixos.sops
|
||||||
|
nixos.step-client
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
nixos."${username}"
|
nixos."${username}"
|
||||||
# inputs.self.modules.nixos.step-ca
|
nixos.zsh
|
||||||
nixos.docker
|
nixos.docker
|
||||||
{
|
{
|
||||||
home-manager.users."${username}" = {
|
home-manager.users."${username}" = {
|
||||||
|
imports = with inputs.self.modules.homeManager; [
|
||||||
|
sops
|
||||||
|
];
|
||||||
shell.program = "zsh";
|
shell.program = "zsh";
|
||||||
docker.enable = true;
|
docker.enable = true;
|
||||||
ssh.matchSets = {
|
ssh.matchSets = {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ in
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nixos-rebuild
|
nixos-rebuild
|
||||||
(writeShellScriptBin "test-push" ''
|
(writeShellScriptBin "test-push" ''
|
||||||
nixos-rebuild switch --flake ${flakeDir}#test-nix --target-host root@${testTarget}
|
nixos-rebuild switch --flake ${flakeDir}#janus --target-host root@${testTarget}
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
# TODO: Add host-specific settings here:
|
# TODO: Add host-specific settings here:
|
||||||
|
|||||||
Reference in New Issue
Block a user