Compare commits
	
		
			6 Commits
		
	
	
		
			6c53fe1aae
			...
			usb-fixes
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c13603ebb9 | |||
| 493859058e | |||
| 24667d777e | |||
| c2563b0521 | |||
| d3b2e18af9 | |||
| a2ca62e0af | 
@@ -5,7 +5,7 @@
 | 
				
			|||||||
            networking.hostName = "nichts";
 | 
					            networking.hostName = "nichts";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            userName = "remy";
 | 
					            userName = "remy";
 | 
				
			||||||
            gnome.enabled = true;
 | 
					            gnome.enable = true;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -13,6 +13,7 @@
 | 
				
			|||||||
    imports = [
 | 
					    imports = [
 | 
				
			||||||
        ./configuration.nix
 | 
					        ./configuration.nix
 | 
				
			||||||
        ./hardware-configuration.nix
 | 
					        ./hardware-configuration.nix
 | 
				
			||||||
 | 
					        ./usb_config.nix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # ../../modules/nixos/backup.nix
 | 
					        # ../../modules/nixos/backup.nix
 | 
				
			||||||
        ../../modules/nixos/bluetooth.nix
 | 
					        ../../modules/nixos/bluetooth.nix
 | 
				
			||||||
@@ -27,7 +28,7 @@
 | 
				
			|||||||
        ../../modules/nixos/nh.nix
 | 
					        ../../modules/nixos/nh.nix
 | 
				
			||||||
        ../../modules/nixos/pipewire.nix
 | 
					        ../../modules/nixos/pipewire.nix
 | 
				
			||||||
        ../../modules/nixos/podman.nix
 | 
					        ../../modules/nixos/podman.nix
 | 
				
			||||||
        ../../modules/nixos/power.nix
 | 
					        # ../../modules/nixos/power.nix
 | 
				
			||||||
        ../../modules/nixos/stylix.nix
 | 
					        ../../modules/nixos/stylix.nix
 | 
				
			||||||
        ../../modules/nixos/user.nix
 | 
					        ../../modules/nixos/user.nix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,6 +11,7 @@
 | 
				
			|||||||
  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
 | 
					  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
 | 
				
			||||||
  boot.initrd.kernelModules = [ ];
 | 
					  boot.initrd.kernelModules = [ ];
 | 
				
			||||||
  boot.kernelModules = [ ];
 | 
					  boot.kernelModules = [ ];
 | 
				
			||||||
 | 
					  boot.kernelPackages = pkgs.linuxPackages_latest;
 | 
				
			||||||
  boot.extraModulePackages = [ ];
 | 
					  boot.extraModulePackages = [ ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fileSystems."/" =
 | 
					  fileSystems."/" =
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    boot.loader.grub.efiSupport = true;
 | 
					    boot.loader.grub.efiSupport = true;
 | 
				
			||||||
    # location at install time. Since the drive is a USB drive this is expcected to change on each device
 | 
					    # location at install time. Since the drive is a USB drive this is expcected to change on each device
 | 
				
			||||||
    boot.loader.grub.device = "/dev/sdb";
 | 
					    boot.loader.grub.devices = ["/dev/sdb"];
 | 
				
			||||||
    boot.loader.grub.efiInstallAsRemovable = true;
 | 
					    boot.loader.grub.efiInstallAsRemovable = true;
 | 
				
			||||||
    boot.loader.systemd-boot.enable = false;
 | 
					    boot.loader.systemd-boot.enable = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,20 +12,24 @@
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
  config = lib.mkIf config.nix-config.gnome.enable {
 | 
					  config = lib.mkIf config.nix-config.gnome.enable {
 | 
				
			||||||
    services = {
 | 
					    services = {
 | 
				
			||||||
      displayManager.gdm.enable = true;
 | 
					    #   displayManager.gdm.enable = true;
 | 
				
			||||||
      desktopManager.gnome.enable = true;
 | 
					    #   desktopManager.gnome.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      gnome = {
 | 
					    #   gnome = {
 | 
				
			||||||
        core-apps.enable = false;
 | 
					    #     core-apps.enable = false;
 | 
				
			||||||
        core-developer-tools.enable = false;
 | 
					    #     core-developer-tools.enable = false;
 | 
				
			||||||
        games.enable = false;
 | 
					    #     games.enable = false;
 | 
				
			||||||
      };
 | 
					    #   };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # Exclude some packages to keep the installation lean
 | 
					    #   # Exclude some packages to keep the installation lean
 | 
				
			||||||
      environment.gnome.excludePackages = with pkgs; [
 | 
					    #   environment.gnome.excludePackages = with pkgs; [
 | 
				
			||||||
        gnome-tour
 | 
					    #     gnome-tour
 | 
				
			||||||
        gnome-user-docs
 | 
					    #     gnome-user-docs
 | 
				
			||||||
      ];
 | 
					    #   ];
 | 
				
			||||||
 | 
					    # };
 | 
				
			||||||
 | 
					      xserver.enable = true;
 | 
				
			||||||
 | 
					      xserver.displayManager.gdm.enable = true;
 | 
				
			||||||
 | 
					      xserver.desktopManager.gnome.enable = true;
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,12 +3,12 @@ with lib.hm.gvariant;
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  config = {
 | 
					  config = {
 | 
				
			||||||
    nix-config = {
 | 
					    nix-config = {
 | 
				
			||||||
      hypr = {
 | 
					      # hypr = {
 | 
				
			||||||
        internal-screen = {
 | 
					      #   internal-screen = {
 | 
				
			||||||
            resolution = "auto";
 | 
					      #       resolution = "auto";
 | 
				
			||||||
            scale = "auto";
 | 
					      #       scale = "auto";
 | 
				
			||||||
        };
 | 
					      #   };
 | 
				
			||||||
      };
 | 
					      # };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -21,7 +21,7 @@ with lib.hm.gvariant;
 | 
				
			|||||||
    ../../modules/home-manager/documents.nix
 | 
					    ../../modules/home-manager/documents.nix
 | 
				
			||||||
    ../../modules/home-manager/fish.nix
 | 
					    ../../modules/home-manager/fish.nix
 | 
				
			||||||
    ../../modules/home-manager/flatpaks.nix
 | 
					    ../../modules/home-manager/flatpaks.nix
 | 
				
			||||||
    ../../modules/home-manager/hypr
 | 
					    # ../../modules/home-manager/hypr
 | 
				
			||||||
    ../../modules/home-manager/keepassxc.nix
 | 
					    ../../modules/home-manager/keepassxc.nix
 | 
				
			||||||
    ../../modules/home-manager/kitty.nix
 | 
					    ../../modules/home-manager/kitty.nix
 | 
				
			||||||
    ../../modules/home-manager/kubectl.nix
 | 
					    ../../modules/home-manager/kubectl.nix
 | 
				
			||||||
@@ -31,7 +31,7 @@ with lib.hm.gvariant;
 | 
				
			|||||||
    ../../modules/home-manager/stylix.nix
 | 
					    ../../modules/home-manager/stylix.nix
 | 
				
			||||||
    ../../modules/home-manager/thunderbird.nix
 | 
					    ../../modules/home-manager/thunderbird.nix
 | 
				
			||||||
    ../../modules/home-manager/wofi.nix
 | 
					    ../../modules/home-manager/wofi.nix
 | 
				
			||||||
    ../../modules/home-manager/xdg-portals.nix
 | 
					    # ../../modules/home-manager/xdg-portals.nix
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user