From d96089fd50d2861aa577a2c27b188ca7780aa475 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 13 Feb 2023 01:26:48 +0100 Subject: some smaller stuff --- common/desktop.nix | 3 ++- home/packages-minimal.nix | 1 + ilex/hardware-configuration.nix | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/desktop.nix b/common/desktop.nix index 4430c33..6aae3d1 100644 --- a/common/desktop.nix +++ b/common/desktop.nix @@ -29,7 +29,7 @@ users.defaultUserShell = pkgs.fish; users.users.stuebinm = { isNormalUser = true; - extraGroups = [ "docker" "wheel" "networking" "video" ]; + extraGroups = [ "docker" "wheel" "networking" "video" "wireshark" ]; home = "/home/stuebinm"; hashedPassword = "$6$IULsCnY7HjDHAJWs$05DYuwXsfWWKj6m3KTWCPp5k9HuQikIamNBzn2GihMG8oeEf5c8YkXlwuO6uTnX8ZFmyAQdhXfO5yYNEM/YTm0"; useDefaultShell = true; @@ -81,6 +81,7 @@ hardware.opengl.enable = true; fonts.enableDefaultFonts = true; programs.xwayland.enable = false; + programs.wireshark.enable = true; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ]; xdg.portal.enable = true; services.flatpak.enable = true; diff --git a/home/packages-minimal.nix b/home/packages-minimal.nix index 4320ac4..0ef2db5 100644 --- a/home/packages-minimal.nix +++ b/home/packages-minimal.nix @@ -23,6 +23,7 @@ in ripgrep python39Packages.isort shellcheck graphviz unzip acpi extras.sfz viu yt-dlp weechat hexyl bottom lm_sensors + usbutils # git gitAndTools.gitAnnex git-bug git-appraise # other things diff --git a/ilex/hardware-configuration.nix b/ilex/hardware-configuration.nix index 1170585..33eee40 100644 --- a/ilex/hardware-configuration.nix +++ b/ilex/hardware-configuration.nix @@ -25,7 +25,7 @@ fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = [ { device = "/swapfile"; size = 33792; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's -- cgit v1.2.3