update and connectivity

This commit is contained in:
Till 2026-01-13 22:03:03 +01:00
parent a08e858ddc
commit a2608f23fe
8 changed files with 65 additions and 22 deletions

28
flake.lock generated
View file

@ -28,43 +28,43 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1758463745, "lastModified": 1767910483,
"narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", "narHash": "sha256-MOU5YdVu4DVwuT5ztXgQpPuRRBjSjUGIdUzOQr9iQOY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", "rev": "82fb7dedaad83e5e279127a38ef410bcfac6d77c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.05", "ref": "release-25.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1760862643, "lastModified": 1768028080,
"narHash": "sha256-PXwG0TM7Ek87DNx4LbGWuD93PbFeKAJs4FfALtp7Wo0=", "narHash": "sha256-50aDK+8eLvsLK39TzQhKNq50/HcXyP4hyxOYoPoVxjo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "33c6dca0c0cb31d6addcd34e90a63ad61826b28c", "rev": "d03088749a110d52a4739348f39a63f84bb0be14",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1760878510, "lastModified": 1768127708,
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", "narHash": "sha256-1Sm77VfZh3mU0F5OqKABNLWxOuDeHIlcFjsXeeiPazs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", "rev": "ffbc9f8cbaacfb331b6017d5a5abb21a492c9a38",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -80,11 +80,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1760978765, "lastModified": 1768226540,
"narHash": "sha256-l0l4amXoROb5EqrBX7p6y8U/XpWbH7NewFytIuRVrsU=", "narHash": "sha256-7ITnaEIsloaaOpqxIEYjUvodWz3VcT0ERi0NiZx7U/g=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nur", "repo": "nur",
"rev": "6e8d368ab972c8809b2ca22d82195121dec0de4f", "rev": "b87f89e9dc56296f29fb3caa93f7fb6058f8c5f3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -21,6 +21,7 @@
./system ./system
./system/alt.nix ./system/alt.nix
./system/btrbk.nix ./system/btrbk.nix
./system/cast.nix
./system/desktop.nix ./system/desktop.nix
./system/ergodox.nix ./system/ergodox.nix
./system/gnome.nix ./system/gnome.nix
@ -103,6 +104,7 @@
./system/hardware/homer.nix ./system/hardware/homer.nix
./system/gnome.nix ./system/gnome.nix
./system/steam.nix ./system/steam.nix
./system/remote-desktop.nix
./system/media.nix ./system/media.nix
./system/guest.nix ./system/guest.nix
]; ];

View file

@ -11,6 +11,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
usbutils
wl-clipboard wl-clipboard
# email # email
@ -84,4 +85,5 @@
}; };
services.syncthing.enable = true; services.syncthing.enable = true;
} }

29
system/cast.nix Normal file
View 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/";
};
}

View file

@ -6,16 +6,17 @@
./interception-tools.nix ./interception-tools.nix
]; ];
zramSwap.enable = true; # zramSwap.enable = true;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.firewall = {
enable = true; # networking.firewall = {
allowedTCPPorts = [ 4000 ]; # allowedTCPPorts = [ 4000 ];
}; # };
i18n.extraLocaleSettings = { i18n.extraLocaleSettings = {
LC_TIME = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8";
@ -60,10 +61,8 @@
virtiofsd virtiofsd
]; ];
# nixpkgs.config.joypixels.acceptLicense = true;
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
jetbrains-mono jetbrains-mono
# joypixels
]; ];
services = { services = {
@ -73,6 +72,7 @@
# mullvad-vpn.enable = true; # mullvad-vpn.enable = true;
# mullvad-vpn.package = pkgs.mullvad-vpn; # mullvad-vpn.package = pkgs.mullvad-vpn;
printing.enable = true; printing.enable = true;
udisks2.enable = true;
}; };
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;

View file

@ -26,4 +26,9 @@
services.gnome.gnome-browser-connector.enable = true; services.gnome.gnome-browser-connector.enable = true;
# services.gnome.gnome-keyring.enable = lib.mkForce false; # services.gnome.gnome-keyring.enable = lib.mkForce false;
programs.kdeconnect = {
enable = true;
package = pgks.gnomeExtensions.gsconnect;
}
} }

View file

@ -54,7 +54,7 @@ in
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 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.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.trackpoint.enable = true; hardware.trackpoint.enable = true;
boot.kernelParams = [ "psmouse.elantech_smbus=0" ]; boot.kernelParams = [ "psmouse.elantech_smbus=0" ];

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
services.gnome.gnome-remote-desktop.enable = true
}