Ver 1.0
This commit is contained in:
parent
b6b87d5aed
commit
9c72a71585
3546 changed files with 18655 additions and 0 deletions
65
showcaseVM/haveItrun.nix
Normal file
65
showcaseVM/haveItrun.nix
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
username = "icarus";
|
||||
gitUsername = "icarus";
|
||||
password = "icarus";
|
||||
in {
|
||||
# Enable Hyprland
|
||||
#programs.hyprland.enable = true;
|
||||
|
||||
# No display manager
|
||||
#services.displayManager.sddm.enable = false;
|
||||
|
||||
# Start Hyprland automatically after login
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.bash}/bin/bash -lc 'WLR_RENDERER=pixman start-hyprland'";
|
||||
user = username;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pciutils
|
||||
];
|
||||
|
||||
# does not work?
|
||||
virtualisation.vmVariant = {
|
||||
virtualisation = {
|
||||
memorySize = 2048; # Use 2048 MiB of RAM
|
||||
cores = 3; # Use 3 CPU cores
|
||||
};
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
WLR_RENDERER = "pixman";
|
||||
};
|
||||
|
||||
# temp enable ssh
|
||||
|
||||
# virtualisation.vmVariant = {
|
||||
# virtualisation.forwardPorts = [
|
||||
# {
|
||||
# from = "host";
|
||||
# host.port = 8222;
|
||||
# guest.port = 22;
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
|
||||
# for testing:
|
||||
# services.openssh = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# PasswordAuthentication = true;
|
||||
# PermitRootLogin = "yes"; # or "prohibit-password"
|
||||
# };
|
||||
# };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue