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;
 | 
					    executable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    text = ''
 | 
					    text = ''
 | 
				
			||||||
  dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
 | 
					      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 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
 | 
					      systemctl --user start pipewire pipewire-media-session xdg-desktop-portal xdg-desktop-portal-wlr
 | 
				
			||||||
      '';
 | 
					    '';
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # currently, there is some friction between sway and gtk:
 | 
					  # currently, there is some friction between sway and gtk:
 | 
				
			||||||
| 
						 | 
					@ -39,7 +39,7 @@ let
 | 
				
			||||||
        export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
 | 
					        export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
 | 
				
			||||||
        gnome_schema=org.gnome.desktop.interface
 | 
					        gnome_schema=org.gnome.desktop.interface
 | 
				
			||||||
        gsettings set $gnome_schema gtk-theme 'Dracula'
 | 
					        gsettings set $gnome_schema gtk-theme 'Dracula'
 | 
				
			||||||
        '';
 | 
					      '';
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
in
 | 
					in
 | 
				
			||||||
| 
						 | 
					@ -49,7 +49,6 @@ in
 | 
				
			||||||
  boot.loader.efi.canTouchEfiVariables = true;
 | 
					  boot.loader.efi.canTouchEfiVariables = true;
 | 
				
			||||||
  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
					  boot.loader.efi.efiSysMountPoint = "/boot/efi";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  networking.hostName = "i15"; # Define your hostname.
 | 
					 | 
				
			||||||
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 | 
					  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Configure network proxy if necessary
 | 
					  # Configure network proxy if necessary
 | 
				
			||||||
| 
						 | 
					@ -71,12 +70,14 @@ in
 | 
				
			||||||
  # Enable the GNOME Desktop Environment.
 | 
					  # Enable the GNOME Desktop Environment.
 | 
				
			||||||
  # services.xserver.displayManager.gdm.enable = true;
 | 
					  # services.xserver.displayManager.gdm.enable = true;
 | 
				
			||||||
  # services.xserver.desktopManager.gnome.enable = true;
 | 
					  # services.xserver.desktopManager.gnome.enable = true;
 | 
				
			||||||
 | 
					  # services.xserver.displayManager.autologin.user = "lelgenio";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Configure keymap in X11
 | 
					  # Configure keymap in X11
 | 
				
			||||||
  services.xserver = {
 | 
					  services.xserver = {
 | 
				
			||||||
    layout = "us";
 | 
					    layout = "us";
 | 
				
			||||||
    xkbVariant = "colemak";
 | 
					    xkbVariant = "colemak";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					  console.keyMap = "colemak";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Enable CUPS to print documents.
 | 
					  # Enable CUPS to print documents.
 | 
				
			||||||
  # services.printing.enable = true;
 | 
					  # services.printing.enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,4 +37,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 | 
					  powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
 | 
				
			||||||
  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | 
					  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;
 | 
					  # networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
 | 
					  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