Setup optical drive

This commit is contained in:
Ethan Simmons
2025-06-07 10:31:54 -05:00
parent b2b8ee0699
commit 11de4c2054
2 changed files with 8 additions and 1 deletions

View File

@@ -31,6 +31,12 @@
options = [ "subvol=nix" ]; options = [ "subvol=nix" ];
}; };
fileSystems."/mnt/drive0" =
{ device = "/dev/sr0";
fsType = "auto";
options = [ "ro" "user" "noauto" "unhide" ];
};
swapDevices = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@@ -67,6 +67,7 @@
bottles bottles
quartus-prime-lite quartus-prime-lite
discord discord
wine
]; ];
services.printing.enable = false; services.printing.enable = false;
@@ -118,7 +119,7 @@
# Define a user account. # Define a user account.
users.users.eesim = { users.users.eesim = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "video" "audio" "networkmanager" ]; extraGroups = [ "wheel" "video" "audio" "networkmanager" "cdrom" ];
shell = pkgs.fish; shell = pkgs.fish;
}; };