2
									
								
								dom0.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dom0.sh
									
									
									
									
									
								
							@@ -14,6 +14,8 @@
 | 
				
			|||||||
# License for the specific language governing permissions and limitations under
 | 
					# License for the specific language governing permissions and limitations under
 | 
				
			||||||
# the License.
 | 
					# the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Enabling discard and fstrim
 | 
					# Enabling discard and fstrim
 | 
				
			||||||
sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf
 | 
					sudo sed -i 's/issue_discards = 0/issue_discards = 1/g' /etc/lvm/lvm.conf
 | 
				
			||||||
sudo systemctl enable --now fstrim.timer
 | 
					sudo systemctl enable --now fstrim.timer
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,6 +14,8 @@
 | 
				
			|||||||
# License for the specific language governing permissions and limitations under
 | 
					# License for the specific language governing permissions and limitations under
 | 
				
			||||||
# the License.
 | 
					# the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unpriv(){
 | 
					unpriv(){
 | 
				
			||||||
  sudo -u nobody "$@"
 | 
					  sudo -u nobody "$@"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,6 +14,8 @@
 | 
				
			|||||||
# License for the specific language governing permissions and limitations under
 | 
					# License for the specific language governing permissions and limitations under
 | 
				
			||||||
# the License.
 | 
					# the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install necessary packages
 | 
					# Install necessary packages
 | 
				
			||||||
dnf install -y @hardware-support arc-theme chrony gnome-keyring NetworkManager-wifi network-manager-applet qubes-core-agent-networking qubes-core-agent-network-manager xfce4-notifyd
 | 
					dnf install -y @hardware-support arc-theme chrony gnome-keyring NetworkManager-wifi network-manager-applet qubes-core-agent-networking qubes-core-agent-network-manager xfce4-notifyd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,6 +14,8 @@
 | 
				
			|||||||
# License for the specific language governing permissions and limitations under
 | 
					# License for the specific language governing permissions and limitations under
 | 
				
			||||||
# the License.
 | 
					# the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unpriv(){
 | 
					unpriv(){
 | 
				
			||||||
  sudo -u nobody "$@"
 | 
					  sudo -u nobody "$@"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,6 +14,8 @@
 | 
				
			|||||||
# License for the specific language governing permissions and limitations under
 | 
					# License for the specific language governing permissions and limitations under
 | 
				
			||||||
# the License.
 | 
					# the License.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unpriv(){
 | 
					unpriv(){
 | 
				
			||||||
  sudo -u nobody "$@"
 | 
					  sudo -u nobody "$@"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user