sisko: various minor changes

This commit is contained in:
Felix Albrigtsen 2025-07-31 00:07:34 +02:00
parent 5dcd4c11bb
commit ee23a6eb75
3 changed files with 28 additions and 21 deletions

View File

@ -11,16 +11,16 @@
networking = { networking = {
hostName = "sisko"; hostName = "sisko";
networkmanager.enable = true; # networkmanager.enable = true;
# defaultGateway = "192.168.10.1"; defaultGateway = "192.168.10.1";
# interfaces.enp14s0 = { interfaces.enp14s0 = {
# ipv4 = { ipv4 = {
# addresses = [ addresses = [
# { address = "192.168.10.172"; prefixLength = 24; } { address = "192.168.10.172"; prefixLength = 24; }
# ]; ];
# }; };
# wakeOnLan.enable = true; wakeOnLan.enable = true;
# }; };
hostId = "b716d781"; hostId = "b716d781";
}; };
@ -28,15 +28,9 @@
sops.defaultSopsFile = ../../secrets/sisko/sisko.yaml; sops.defaultSopsFile = ../../secrets/sisko/sisko.yaml;
environment.variables = { EDITOR = "vim"; }; environment.variables = { EDITOR = "vim"; };
users.users.felixalb.extraGroups = [ "dialout" "networkmanager" ]; users.users.felixalb.extraGroups = [ "dialout" "networkmanager" "libvirtd" ];
programs = { programs = {
gamemode.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
};
alvr = { alvr = {
enable = true; enable = true;
package = pkgs.unstable.alvr; package = pkgs.unstable.alvr;
@ -47,6 +41,20 @@
enable = true; enable = true;
nativeMessagingHosts.packages = with pkgs; [ tridactyl-native ]; 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 = { nixpkgs.config = {
@ -56,15 +64,12 @@
"spotify" "spotify"
"steam" "steam"
"steam-unwrapped" "steam-unwrapped"
"tlclient"
]; ];
permittedInsecurePackages = [ permittedInsecurePackages = [
"openssl-1.1.1w" "openssl-1.1.1w"
]; ];
}; };
services.fwupd.enable = true; services.fwupd.enable = true;
system.stateVersion = "24.11"; system.stateVersion = "24.11";
} }

View File

@ -71,6 +71,7 @@
playerctl playerctl
pwgen pwgen
restic restic
rocmPackages.clang
traceroute traceroute
w3m w3m
@ -91,7 +92,7 @@
settings.window.opacity = 0.92; settings.window.opacity = 0.92;
}; };
ncmpcpp.enable = true; ncmpcpp.enable = true;
neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ]; neovim.plugins = with pkgs.vimPlugins; [ copilot-vim coc-clangd ];
rbw = { rbw = {
enable = true; enable = true;
settings = { settings = {

View File

@ -43,6 +43,7 @@
}; };
programs.neovim.plugins = with pkgs.vimPlugins; [ programs.neovim.plugins = with pkgs.vimPlugins; [
coc-clangd
coc-emmet coc-emmet
copilot-vim copilot-vim
emmet-vim # Ctrl+y + , emmet-vim # Ctrl+y + ,