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