13 lines
232 B
Nix
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
|
|
}
|
|
'';
|
|
}
|