mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Made server config easier
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
user = "r3ddy";
|
||||
email = personalEmail;
|
||||
gamingSystem = true;
|
||||
# Currently supported: plasma, gnome, hyprland
|
||||
# Currently supported: plasma, gnome, hyprland and none
|
||||
desktopEnvironment = "gnome";
|
||||
};
|
||||
nixosConfigurations.workstation = mkSystem "workstation" {
|
||||
@@ -64,6 +64,7 @@
|
||||
system = "x86_64-linux";
|
||||
email = personalEmail;
|
||||
user = "r3ddy";
|
||||
desktopEnvironment = "none";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
networking.firewall.allowedUDPPorts = [ ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = true;
|
||||
xdg.portal.extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
];
|
||||
# xdg.portal.extraPortals = with pkgs; [
|
||||
# xdg-desktop-portal-gtk
|
||||
# ];
|
||||
}
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{ pkgs, currentSystemUser, ... }:
|
||||
{ pkgs, currentSystemUser, currentSystemDe, ... }:
|
||||
{
|
||||
imports = [
|
||||
./keyboard.nix
|
||||
] ++ (if (currentSystemDe != "none") then [
|
||||
./sound.nix
|
||||
./fonts.nix
|
||||
./de.nix
|
||||
./sound.nix
|
||||
./keyboard.nix
|
||||
];
|
||||
] else []);
|
||||
|
||||
time.timeZone = "Europe/Rome";
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
vim # The only and one great editor
|
||||
inputs.nixvim.packages.${system}.default # The only and one great editor improved even further
|
||||
|
||||
] ++ (if currentSystemDe != "none" then [
|
||||
# Video card
|
||||
vulkan-tools
|
||||
|
||||
@@ -53,7 +53,8 @@
|
||||
mpv
|
||||
piper
|
||||
telegram-desktop
|
||||
] ++ (if gamingSystem then [
|
||||
] else [])
|
||||
++ (if gamingSystem then [
|
||||
archipelago
|
||||
dolphin-emu
|
||||
heroic
|
||||
@@ -63,12 +64,12 @@
|
||||
prismlauncher
|
||||
protonplus
|
||||
vesktop
|
||||
] else []
|
||||
] else [])
|
||||
++ (if workSystem then [
|
||||
android-studio
|
||||
ansible
|
||||
virt-manager
|
||||
] else []))
|
||||
] else [])
|
||||
++ (if currentSystemDe == "plasma" then [
|
||||
kdePackages.wallpaper-engine-plugin
|
||||
] else [])
|
||||
|
||||
Reference in New Issue
Block a user