add pc
This commit is contained in:
82
modules/graphical/shared.nix
Normal file
82
modules/graphical/shared.nix
Normal file
@@ -0,0 +1,82 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
keepassWithPlugins = pkgs.keepass.override {
|
||||
plugins = [
|
||||
pkgs.keepass-keepassrpc
|
||||
];
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
fonts.fontDir.enable = true;
|
||||
fonts.fonts = with pkgs; [
|
||||
nerdfonts
|
||||
];
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
# wget
|
||||
wget
|
||||
nixos-option
|
||||
kate
|
||||
keepassWithPlugins
|
||||
jetbrains.idea-ultimate
|
||||
jetbrains.rider
|
||||
dotnet-sdk_7
|
||||
dotnet-runtime_7
|
||||
neovim
|
||||
htop
|
||||
btop
|
||||
git
|
||||
xfce.thunar
|
||||
killall
|
||||
xclip
|
||||
usbutils
|
||||
bun
|
||||
inputs.agenix.packages."x86_64-linux".default
|
||||
insomnia
|
||||
remmina
|
||||
nextcloud-client
|
||||
#podman-compose
|
||||
#arion # docker
|
||||
neofetch
|
||||
thunderbird
|
||||
rofi
|
||||
pdfgrep
|
||||
taisei
|
||||
ncdu
|
||||
localsend
|
||||
element-desktop
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
DOTNET_ROOT = "${pkgs.dotnet-sdk_7}";
|
||||
};
|
||||
|
||||
### docker
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user