From ee23a6eb75bfde0891d7e57cd90ad3ac4684a404 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Thu, 31 Jul 2025 00:07:34 +0200 Subject: [PATCH] sisko: various minor changes --- hosts/sisko/configuration.nix | 45 +++++++++++++++++++---------------- hosts/sisko/home.nix | 3 ++- hosts/worf/home.nix | 1 + 3 files changed, 28 insertions(+), 21 deletions(-) diff --git a/hosts/sisko/configuration.nix b/hosts/sisko/configuration.nix index 659bfb4..2105396 100644 --- a/hosts/sisko/configuration.nix +++ b/hosts/sisko/configuration.nix @@ -11,16 +11,16 @@ networking = { hostName = "sisko"; - networkmanager.enable = true; - # defaultGateway = "192.168.10.1"; - # interfaces.enp14s0 = { - # ipv4 = { - # addresses = [ - # { address = "192.168.10.172"; prefixLength = 24; } - # ]; - # }; - # wakeOnLan.enable = true; - # }; + # networkmanager.enable = true; + defaultGateway = "192.168.10.1"; + interfaces.enp14s0 = { + ipv4 = { + addresses = [ + { address = "192.168.10.172"; prefixLength = 24; } + ]; + }; + wakeOnLan.enable = true; + }; hostId = "b716d781"; }; @@ -28,15 +28,9 @@ sops.defaultSopsFile = ../../secrets/sisko/sisko.yaml; environment.variables = { EDITOR = "vim"; }; - users.users.felixalb.extraGroups = [ "dialout" "networkmanager" ]; + users.users.felixalb.extraGroups = [ "dialout" "networkmanager" "libvirtd" ]; programs = { - gamemode.enable = true; - steam = { - enable = true; - remotePlay.openFirewall = true; - }; - alvr = { enable = true; package = pkgs.unstable.alvr; @@ -47,6 +41,20 @@ enable = true; nativeMessagingHosts.packages = with pkgs; [ tridactyl-native ]; }; + + gamemode.enable = true; + + steam = { + enable = true; + remotePlay.openFirewall = true; + }; + + virt-manager.enable = true; + }; + + virtualisation = { + libvirtd.enable = true; + spiceUSBRedirection.enable = true; }; nixpkgs.config = { @@ -56,15 +64,12 @@ "spotify" "steam" "steam-unwrapped" - "tlclient" ]; permittedInsecurePackages = [ "openssl-1.1.1w" ]; }; - services.fwupd.enable = true; system.stateVersion = "24.11"; } - diff --git a/hosts/sisko/home.nix b/hosts/sisko/home.nix index 882dfee..fdbb1ef 100644 --- a/hosts/sisko/home.nix +++ b/hosts/sisko/home.nix @@ -71,6 +71,7 @@ playerctl pwgen restic + rocmPackages.clang traceroute w3m @@ -91,7 +92,7 @@ settings.window.opacity = 0.92; }; ncmpcpp.enable = true; - neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ]; + neovim.plugins = with pkgs.vimPlugins; [ copilot-vim coc-clangd ]; rbw = { enable = true; settings = { diff --git a/hosts/worf/home.nix b/hosts/worf/home.nix index 34c0559..cf97ea3 100644 --- a/hosts/worf/home.nix +++ b/hosts/worf/home.nix @@ -43,6 +43,7 @@ }; programs.neovim.plugins = with pkgs.vimPlugins; [ + coc-clangd coc-emmet copilot-vim emmet-vim # Ctrl+y + ,