sandbox
This commit is contained in:
@@ -81,7 +81,6 @@
|
|||||||
hyprctl setcursor Bibata-Modern-Classic 16 &
|
hyprctl setcursor Bibata-Modern-Classic 16 &
|
||||||
sleep 3
|
sleep 3
|
||||||
hyprctl reload &
|
hyprctl reload &
|
||||||
novnc &
|
|
||||||
#tmux new-session -s hyprland
|
#tmux new-session -s hyprland
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@
|
|||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
ags.enable = true;
|
ags.enable = true;
|
||||||
|
kdePlasma6.enable = true;
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
nh.enable = true;
|
nh.enable = true;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
};
|
};
|
||||||
displayManager = {
|
displayManager = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#defaultSession = "hyprland";
|
defaultSession = "plasmawayland.desktop";
|
||||||
autoLogin = {
|
autoLogin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "nathan";
|
user = "nathan";
|
||||||
@@ -25,12 +25,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
systemd.extraConfig = "DefaultLimitNOFILE=2048";
|
systemd.extraConfig = "DefaultLimitNOFILE=2048";
|
||||||
|
/*
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
WLR_BACKENDS = "headless";
|
WLR_BACKENDS = "headless";
|
||||||
WLR_LIBINPUT_NO_DEVICES = "1";
|
WLR_LIBINPUT_NO_DEVICES = "1";
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
environment.shells = with pkgs; [ zsh ];
|
environment.shells = with pkgs; [ zsh ];
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
@@ -57,13 +57,14 @@
|
|||||||
|
|
||||||
services.displayManager.sddm.settings.AutoLogin = {
|
services.displayManager.sddm.settings.AutoLogin = {
|
||||||
User = "nathan";
|
User = "nathan";
|
||||||
#Session = "hyprland";
|
Session = "plasmawayland.desktop";
|
||||||
Relogin = true;
|
Relogin = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
firewall.allowedTCPPorts = [ 80 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
@@ -112,7 +113,6 @@
|
|||||||
inputs.nathan-home-manager
|
inputs.nathan-home-manager
|
||||||
{
|
{
|
||||||
config.homeconfig = {
|
config.homeconfig = {
|
||||||
host = "homebox";
|
|
||||||
minimal = false;
|
minimal = false;
|
||||||
wayvnc.enable = true;
|
wayvnc.enable = true;
|
||||||
swaylock.enable = true;
|
swaylock.enable = true;
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
ags.enable = true;
|
ags.enable = true;
|
||||||
hyprland.enable = true;
|
kdePlasma6.enable = true;
|
||||||
git.enable = true;
|
git.enable = true;
|
||||||
nh.enable = true;
|
nh.enable = true;
|
||||||
netbird.enable = true;
|
netbird.enable = true;
|
||||||
20
system-config/services/containers/sandbox/default.nix
Normal file
20
system-config/services/containers/sandbox/default.nix
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{ config, lib, pkgs, ... }: {
|
||||||
|
|
||||||
|
options.sysconfig.opts.virtualization.sandbox.enable = lib.mkOption {
|
||||||
|
type = lib.types.bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.sysconfig.opts.virtualization.sandbox.enable {
|
||||||
|
|
||||||
|
containers.sandbox = {
|
||||||
|
|
||||||
|
autoStart = true;
|
||||||
|
privateNetwork = true;
|
||||||
|
hostAddress = "192.168.100.10";
|
||||||
|
localAddress = "192.168.100.31";
|
||||||
|
|
||||||
|
flake = "https://gitea.blunkall.us/Blunkall-Technologies/Olympus#sandbox-nathan";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -9,16 +9,24 @@
|
|||||||
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [ (sddm-astronaut.override { embeddedTheme = "cyberpunk"; }) ];
|
||||||
|
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
autoNumlock = true;
|
autoNumlock = true;
|
||||||
theme = "${inputs.tokyo-night-sddm-theme { inherit pkgs; }}";
|
theme = "sddm-astronaut-theme"; #"${inputs.tokyo-night-sddm-theme { inherit pkgs; }}";
|
||||||
enableHidpi = true;
|
enableHidpi = true;
|
||||||
extraPackages = with pkgs; [
|
/*extraPackages = with pkgs; [
|
||||||
libsForQt5.qtsvg
|
libsForQt5.qtsvg
|
||||||
libsForQt5.qtquickcontrols2
|
libsForQt5.qtquickcontrols2
|
||||||
libsForQt5.qtgraphicaleffects
|
libsForQt5.qtgraphicaleffects
|
||||||
|
];*/
|
||||||
|
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
kdePackages.qtsvg
|
||||||
|
kdePackages.qtvirtualkeyboard
|
||||||
|
kdePackages.qtmultimedia
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user