nixos/home/root.nix
2026-10-10 16:34:47 +09:00

13 lines
232 B
Nix

{ config, pkgs, ... }:
{
imports = [ ./common.nix ];
home = {
username = "root";
homeDirectory = "/root";
};
programs.bash.initExtra = ''
session() {
systemd-run -tGM $1@ --user --wait $SHELL
}
'';
}