about summary refs log tree commit diff
path: root/platforms/linux/configuration.nix
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-22 10:53:48 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-11-22 10:53:48 +0100
commitb3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7 (patch)
tree956a70f735d8c261580289fdd378435fac22ed40 /platforms/linux/configuration.nix
parent9f4077d3579b9837fff78b8f36661c7abc41cd10 (diff)
downloaddots-b3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7.tar.gz
dots-b3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7.zip
Update
Diffstat (limited to 'platforms/linux/configuration.nix')
-rw-r--r--platforms/linux/configuration.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/platforms/linux/configuration.nix b/platforms/linux/configuration.nix
index dcf2e1b..c353c59 100644
--- a/platforms/linux/configuration.nix
+++ b/platforms/linux/configuration.nix
@@ -75,14 +75,14 @@ in
       device = "/dev/disk/by-label/docker";
       fsType = "ext4";
     };
-    "/media" = {
-      device = "/dev/disk/by-label/media";
-      fsType = "ext4";
-    };
-    "/backup" = {
-      device = "/dev/disk/by-label/backup";
-      fsType = "ext4";
-    };
+    # "/media" = {
+    #   device = "/dev/disk/by-label/media";
+    #   fsType = "ext4";
+    # };
+    # "/backup" = {
+    #   device = "/dev/disk/by-label/backup";
+    #   fsType = "ext4";
+    # };
     "/mnt/qnap" = {
       device = "//192.168.1.119/Patryk";
       fsType = "cifs";
@@ -143,7 +143,7 @@ in
     # Basic tools
     stdenv wget vim curl htop dnsutils zip unzip
     zsh neovim ripgrep jq groff file pinentry_gnome
-    ssh-ident busybox_utils
+    ssh-ident busybox_utils usbutils
 
     # XORG perfs
     xorg.xorgserver xorg.xf86inputevdev xorg.xf86inputsynaptics xorg.xf86inputlibinput
@@ -248,6 +248,7 @@ in
   # Enable sound.
   sound.enable = true;
   hardware.pulseaudio.enable = true;
+  hardware.sane.enable = true;
 
   # Enable the X11 windowing system.
   services.xserver.enable = true;
@@ -301,7 +302,7 @@ in
   # Define a user account. Don't forget to set a password with ‘passwd’.
   users.users.pn = {
     isNormalUser = true;
-    extraGroups = [ "wheel" "video" "docker" "adbusers" ]; # Enable ‘sudo’ for the user.
+    extraGroups = [ "wheel" "video" "docker" "adbusers" "scanner" "lp" ]; # Enable ‘sudo’ for the user.
   };
 
   users.defaultUserShell = "/run/current-system/sw/bin/zsh";