summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2023-02-13 01:26:48 +0100
committerstuebinm2023-02-13 01:26:48 +0100
commitd96089fd50d2861aa577a2c27b188ca7780aa475 (patch)
tree86b9ec15f3df2dcc50a2c4df341d5a85b0306ec5
parentf5bb3d005ed8871a815276e99b0fc566cb9ed32e (diff)
some smaller stuff
-rw-r--r--common/desktop.nix3
-rw-r--r--home/packages-minimal.nix1
-rw-r--r--ilex/hardware-configuration.nix2
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