[live-usb] Clean up the configuration
This commit is contained in:
@@ -80,32 +80,15 @@
|
|||||||
extraGroups = [ "wheel" "networkmanager" "audio" "video" ];
|
extraGroups = [ "wheel" "networkmanager" "audio" "video" ];
|
||||||
password = "nixos"; # Simple password for live environment
|
password = "nixos"; # Simple password for live environment
|
||||||
};
|
};
|
||||||
users.users.root.password = "nixos";
|
|
||||||
|
|
||||||
# Enable flakes and new nix command in live environment
|
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
||||||
|
|
||||||
# Copy this flake to the live system for easy access
|
|
||||||
system.extraDependencies = [ pkgs.git ];
|
|
||||||
|
|
||||||
# ISO customization
|
# ISO customization
|
||||||
isoImage = {
|
isoImage = {
|
||||||
compressImage = true;
|
|
||||||
volumeID = "NIXOS-LIVE";
|
volumeID = "NIXOS-LIVE";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Helpful aliases and environment
|
|
||||||
environment.shellAliases = {
|
|
||||||
ll = "ls -la";
|
|
||||||
la = "ls -la";
|
|
||||||
rebuild = "sudo nixos-rebuild switch --flake";
|
|
||||||
install-nixos = "sudo nixos-install --flake";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable some useful services
|
# Enable some useful services
|
||||||
services.udisks2.enable = true; # For mounting USB drives
|
services.udisks2.enable = true; # For mounting USB drives
|
||||||
programs.fish.enable = true;
|
|
||||||
|
|
||||||
# Hardware support
|
# Hardware support
|
||||||
hardware.enableAllFirmware = true;
|
hardware.enableAllFirmware = true;
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user