mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-05 20:56:33 +05:30
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{
|
|
pkgs,
|
|
username,
|
|
outputs,
|
|
inputs,
|
|
email,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../modules/droid/sshd.nix
|
|
];
|
|
|
|
android-integration.am.enable = true;
|
|
android-integration.termux-open-url.enable = true;
|
|
android-integration.xdg-open.enable = true;
|
|
android-integration.termux-setup-storage.enable = true;
|
|
|
|
time.timeZone = "Asia/Kolkata";
|
|
|
|
tux.services.openssh = {
|
|
enable = true;
|
|
ports = [8022];
|
|
authorizedKeys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL+OzPUe2ECPC929DqpkM39tl/vdNAXfsRnmrGfR+X3D ${email}"
|
|
];
|
|
};
|
|
|
|
user = {
|
|
uid = 10559;
|
|
gid = 10559;
|
|
shell = "${pkgs.zsh}/bin/zsh";
|
|
};
|
|
|
|
environment.packages = with pkgs; [
|
|
nano
|
|
git
|
|
neovim
|
|
openssh
|
|
];
|
|
|
|
home-manager = {
|
|
config = ./home.nix;
|
|
backupFileExtension = "backup";
|
|
extraSpecialArgs = {inherit inputs outputs username email;};
|
|
useGlobalPkgs = true;
|
|
};
|
|
|
|
# Set up nix for flakes
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|