Fix boot on monolith
This commit is contained in:
		
							parent
							
								
									89986eb0f5
								
							
						
					
					
						commit
						d0d10a9bfe
					
				
					 3 changed files with 11 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -16,10 +16,10 @@ let
 | 
			
		|||
    executable = true;
 | 
			
		||||
 | 
			
		||||
    text = ''
 | 
			
		||||
  dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
 | 
			
		||||
  systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
 | 
			
		||||
  systemctl --user start pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
 | 
			
		||||
      '';
 | 
			
		||||
      dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
 | 
			
		||||
      systemctl --user stop pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
 | 
			
		||||
      systemctl --user start pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
 | 
			
		||||
    '';
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # currently, there is some friction between sway and gtk:
 | 
			
		||||
| 
						 | 
				
			
			@ -39,7 +39,7 @@ let
 | 
			
		|||
        export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
 | 
			
		||||
        gnome_schema=org.gnome.desktop.interface
 | 
			
		||||
        gsettings set $gnome_schema gtk-theme 'Dracula'
 | 
			
		||||
        '';
 | 
			
		||||
      '';
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
in
 | 
			
		||||
| 
						 | 
				
			
			@ -49,7 +49,6 @@ in
 | 
			
		|||
  boot.loader.efi.canTouchEfiVariables = true;
 | 
			
		||||
  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "i15"; # Define your hostname.
 | 
			
		||||
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 | 
			
		||||
 | 
			
		||||
  # Configure network proxy if necessary
 | 
			
		||||
| 
						 | 
				
			
			@ -71,12 +70,14 @@ in
 | 
			
		|||
  # Enable the GNOME Desktop Environment.
 | 
			
		||||
  # services.xserver.displayManager.gdm.enable = true;
 | 
			
		||||
  # services.xserver.desktopManager.gnome.enable = true;
 | 
			
		||||
  # services.xserver.displayManager.autologin.user = "lelgenio";
 | 
			
		||||
 | 
			
		||||
  # Configure keymap in X11
 | 
			
		||||
  services.xserver = {
 | 
			
		||||
    layout = "us";
 | 
			
		||||
    xkbVariant = "colemak";
 | 
			
		||||
  };
 | 
			
		||||
  console.keyMap = "colemak";
 | 
			
		||||
 | 
			
		||||
  # Enable CUPS to print documents.
 | 
			
		||||
  # services.printing.enable = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,4 +37,6 @@
 | 
			
		|||
 | 
			
		||||
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 | 
			
		||||
  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "i15"; # Define your hostname.
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,4 +38,6 @@
 | 
			
		|||
  # networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
 | 
			
		||||
 | 
			
		||||
  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | 
			
		||||
 | 
			
		||||
  networking.hostName = "monolith"; # Define your hostname.
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue