init
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# This is your system's configuration file.
|
||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
protonplus
|
||||
];
|
||||
services.flatpak = {
|
||||
enable = true;
|
||||
packages = [
|
||||
"com.vivaldi.Vivaldi"
|
||||
"dev.vencord.Vesktop"
|
||||
"com.github.tchx84.Flatseal"
|
||||
"com.heroicgameslauncher.hgl"
|
||||
"org.blender.Blender"
|
||||
"org.kde.krita"
|
||||
"com.mojang.Minecraft"
|
||||
"org.prismlauncher.PrismLauncher"
|
||||
"org.gnome.Showtime" #Duplicate -testing
|
||||
"io.github.diegopvlk.Cine" #Duplicate -testing
|
||||
"org.gnome.gThumb"
|
||||
"org.gnome.Calculator"
|
||||
"net.lutris.Lutris"
|
||||
];
|
||||
};
|
||||
systemd.services.flatpak-repo = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ pkgs.flatpak ];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
programs.steam.enable = true;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
# This is your system's configuration file.
|
||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# --- Display & window managers ---
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
programs.niri.enable = true;
|
||||
programs.skwd-wall.enable = true;
|
||||
programs.gamescope.enable = true;
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
security.pam.services.Winter.enableGnomeKeyring = true;
|
||||
programs.seahorse.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# -- Niri extras --
|
||||
xwayland-satellite
|
||||
fuzzel
|
||||
waybar
|
||||
brightnessctl
|
||||
playerctl
|
||||
mako
|
||||
swaylock
|
||||
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
# This is your system's configuration file.
|
||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 25565 ];
|
||||
allowedUDPPorts = [ 25565 ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
pkgs.jdk17
|
||||
];
|
||||
|
||||
users.users = {
|
||||
minecraft = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.bashInteractive;
|
||||
openssh.authorizedKeys.keys = [
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user