diff --git a/configurations/desktop/configuration.nix b/configurations/desktop/configuration.nix index 90d30dea..e5d17e05 100644 --- a/configurations/desktop/configuration.nix +++ b/configurations/desktop/configuration.nix @@ -133,16 +133,8 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - git - vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. - cifs-utils - exfatprogs - neofetch - appimage-run - wl-clipboard - python3 - usbutils nvtop-amd + wl-clipboard ]; # Set konsole to be default terminal diff --git a/flake.lock b/flake.lock index 728c4895..909f844b 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1710452332, - "narHash": "sha256-+lKOoQ89fD6iz6Ro7Adml4Sx6SqQcTWII4t1rvVtdjs=", + "lastModified": 1711554349, + "narHash": "sha256-RypwcWEIFePBI0Hubfj4chanbM/G2yzJzC6wgz+dmS4=", "owner": "nix-community", "repo": "home-manager", - "rev": "096d9c04b3e9438855aa65e24129b97a998bd3d9", + "rev": "179f6acaf7c068c7870542cdae72afec9427a5b0", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1710272261, - "narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=", + "lastModified": 1711333969, + "narHash": "sha256-5PiWGn10DQjMZee5NXzeA6ccsv60iLu+Xtw+mfvkUAs=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2", + "rev": "57e6b3a9e4ebec5aa121188301f04a6b8c354c9b", "type": "github" }, "original": { diff --git a/global-home.nix b/global-home.nix index 3cc84418..7906831e 100644 --- a/global-home.nix +++ b/global-home.nix @@ -73,6 +73,7 @@ in vlc unityhub veracrypt + boxbuddy mpdcron diff --git a/global.nix b/global.nix index ee446741..34aed567 100644 --- a/global.nix +++ b/global.nix @@ -11,6 +11,16 @@ boot.extraModulePackages = with config.boot.kernelPackages; [ usbip ]; boot.kernelModules = [ "usbip_host" ]; environment.systemPackages = with pkgs; [ + nix-index + git + neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. + neofetch + appimage-run + yt-dlp + python3 + cifs-utils + exfatprogs + usbutils inetutils linuxPackages.usbip dotnet-sdk @@ -82,11 +92,12 @@ nerdfonts ]; + users.groups.plugdev = {}; # Define a user account. Don't forget to set a password with ‘passwd’. users.users.cspark = { isNormalUser = true; description = "Curt Spark"; - extraGroups = [ "networkmanager" "wheel" "libvirtd" "libvirt" "kvm" "input" ]; + extraGroups = [ "plugdev" "networkmanager" "wheel" "libvirtd" "libvirt" "kvm" "input" ]; }; # Allow unfree packages @@ -175,6 +186,119 @@ # Or disable the firewall altogether. networking.firewall.enable = true; + services.udev.extraRules = '' + ## Rules file for NetMD devices and HiMD devices in NetMD mode + ## source: https://usb-ids.gowdy.us/read/UD/054c + ## last changed: 2011-06-29 + + ## HiMD + + # Sony MZ-NH1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="017e", MODE="0664", GROUP="plugdev" + + # Sony MZ-NH3D + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0180", MODE="0664", GROUP="plugdev" + + # Sony MZ-NH900 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0182", MODE="0664", GROUP="plugdev" + + # Sony MZ-NH700/800 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0184", MODE="0664", GROUP="plugdev" + + # Sony MZ-NH600/600D + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0186", MODE="0664", GROUP="plugdev" + + # Sony MZ-DH10P + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="01e9", MODE="0664", GROUP="plugdev" + + # Sony MZ-RH10 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0219", MODE="0664", GROUP="plugdev" + + # Sony MZ-RH910 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="021b", MODE="0664", GROUP="plugdev" + + # Sony CMT-AH10 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="022c", MODE="0664", GROUP="plugdev" + + # Sony DS-HMD1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="023c", MODE="0664", GROUP="plugdev" + + # Sony MZ-RH1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0286", MODE="0664", GROUP="plugdev" + + + ## NetMD + + # Aiwa AM-NX1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0113", MODE="0664", GROUP="plugdev" + + # Aiwa AM-NX9 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="014c", MODE="0664", GROUP="plugdev" + + # Sharp IM-MT880H/MT899H + ATTRS{idVendor}=="04dd", ATTRS{idProduct}=="7202", MODE="0664", GROUP="plugdev" + + # Sharp IM-DR400/DR410 + ATTRS{idVendor}=="04dd", ATTRS{idProduct}=="9013", MODE="0664", GROUP="plugdev" + + # Sharp IM-DR420/DR80/DR580 - Kenwood DMC-S9NET + ATTRS{idVendor}=="04dd", ATTRS{idProduct}=="9014", MODE="0664", GROUP="plugdev" + + # Sony NetMD (unknown model) + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0036", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-N1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0075", MODE="0664", GROUP="plugdev" + + # Sony NetMD (unknown model) + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="007c", MODE="0664", GROUP="plugdev" + + # Sony NetMD LAM-1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0080", MODE="0664", GROUP="plugdev" + + # Sony NetMD MDS-JE780/JB980 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0081", MODE="0664", GROUP="plugdev" + + # Sony MZ-N505 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0084", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-S1 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0085", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-N707 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0086", MODE="0664", GROUP="plugdev" + + # Sony MZ-N10 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c6", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-N910 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c7", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-N710/NF810/NE810 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c8", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-N510/NF610 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00c9", MODE="0664", GROUP="plugdev" + + # Sony MZ-N410/NF520D + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00ca", MODE="0664", GROUP="plugdev" + + # Sony NetMD MZ-NE810/NE910/DN430 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="00eb", MODE="0664", GROUP="plugdev" + + # Sony NetMD LAM-10 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0101", MODE="0664", GROUP="plugdev" + + # Sony MZ-N920 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="0188", MODE="0664", GROUP="plugdev" + + # Sony NetMD LAM-3 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="018a", MODE="0664", GROUP="plugdev" + + # Sony NetMD CMT-AH10 + ATTRS{idVendor}=="054c", ATTRS{idProduct}=="021d", MODE="0664", GROUP="plugdev" + ''; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave