update and connectivity
This commit is contained in:
parent
a08e858ddc
commit
a2608f23fe
8 changed files with 65 additions and 22 deletions
29
system/cast.nix
Normal file
29
system/cast.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
7326
|
||||
8008
|
||||
8009
|
||||
8443
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-network-displays
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gst-libav
|
||||
gst_all_1.gst-vaapi
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
GST_PLUGIN_PATH = "/run/current-system/sw/lib/gstreamer-1.0/";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -6,16 +6,17 @@
|
|||
./interception-tools.nix
|
||||
];
|
||||
|
||||
zramSwap.enable = true;
|
||||
# zramSwap.enable = true;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 4000 ];
|
||||
};
|
||||
|
||||
# networking.firewall = {
|
||||
# allowedTCPPorts = [ 4000 ];
|
||||
# };
|
||||
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_TIME = "en_GB.UTF-8";
|
||||
|
|
@ -60,10 +61,8 @@
|
|||
virtiofsd
|
||||
];
|
||||
|
||||
# nixpkgs.config.joypixels.acceptLicense = true;
|
||||
fonts.packages = with pkgs; [
|
||||
jetbrains-mono
|
||||
# joypixels
|
||||
];
|
||||
|
||||
services = {
|
||||
|
|
@ -73,6 +72,7 @@
|
|||
# mullvad-vpn.enable = true;
|
||||
# mullvad-vpn.package = pkgs.mullvad-vpn;
|
||||
printing.enable = true;
|
||||
udisks2.enable = true;
|
||||
};
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
|
|
|||
|
|
@ -26,4 +26,9 @@
|
|||
services.gnome.gnome-browser-connector.enable = true;
|
||||
# services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||
|
||||
programs.kdeconnect = {
|
||||
enable = true;
|
||||
package = pgks.gnomeExtensions.gsconnect;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ in
|
|||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.trackpoint.enable = true;
|
||||
boot.kernelParams = [ "psmouse.elantech_smbus=0" ];
|
||||
|
|
|
|||
5
system/remote-desktop.nix
Normal file
5
system/remote-desktop.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.gnome.gnome-remote-desktop.enable = true
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue