Compare commits
	
		
			6 Commits
		
	
	
		
			efe873d714
			...
			usb-fixes
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c13603ebb9 | |||
| 493859058e | |||
| 24667d777e | |||
| c2563b0521 | |||
| d3b2e18af9 | |||
| a2ca62e0af | 
@@ -5,7 +5,7 @@
 | 
			
		||||
            networking.hostName = "nichts";
 | 
			
		||||
 | 
			
		||||
            userName = "remy";
 | 
			
		||||
            gnome.enabled = true;
 | 
			
		||||
            gnome.enable = true;
 | 
			
		||||
        };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
@@ -13,6 +13,7 @@
 | 
			
		||||
    imports = [
 | 
			
		||||
        ./configuration.nix
 | 
			
		||||
        ./hardware-configuration.nix
 | 
			
		||||
        ./usb_config.nix
 | 
			
		||||
 | 
			
		||||
        # ../../modules/nixos/backup.nix
 | 
			
		||||
        ../../modules/nixos/bluetooth.nix
 | 
			
		||||
@@ -27,7 +28,7 @@
 | 
			
		||||
        ../../modules/nixos/nh.nix
 | 
			
		||||
        ../../modules/nixos/pipewire.nix
 | 
			
		||||
        ../../modules/nixos/podman.nix
 | 
			
		||||
        ../../modules/nixos/power.nix
 | 
			
		||||
        # ../../modules/nixos/power.nix
 | 
			
		||||
        ../../modules/nixos/stylix.nix
 | 
			
		||||
        ../../modules/nixos/user.nix
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -11,6 +11,7 @@
 | 
			
		||||
  boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
 | 
			
		||||
  boot.initrd.kernelModules = [ ];
 | 
			
		||||
  boot.kernelModules = [ ];
 | 
			
		||||
  boot.kernelPackages = pkgs.linuxPackages_latest;
 | 
			
		||||
  boot.extraModulePackages = [ ];
 | 
			
		||||
 | 
			
		||||
  fileSystems."/" =
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@
 | 
			
		||||
 | 
			
		||||
    boot.loader.grub.efiSupport = true;
 | 
			
		||||
    # 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.systemd-boot.enable = false;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -12,20 +12,24 @@
 | 
			
		||||
  };
 | 
			
		||||
  config = lib.mkIf config.nix-config.gnome.enable {
 | 
			
		||||
    services = {
 | 
			
		||||
      displayManager.gdm.enable = true;
 | 
			
		||||
      desktopManager.gnome.enable = true;
 | 
			
		||||
    #   displayManager.gdm.enable = true;
 | 
			
		||||
    #   desktopManager.gnome.enable = true;
 | 
			
		||||
 | 
			
		||||
      gnome = {
 | 
			
		||||
        core-apps.enable = false;
 | 
			
		||||
        core-developer-tools.enable = false;
 | 
			
		||||
        games.enable = false;
 | 
			
		||||
      };
 | 
			
		||||
    #   gnome = {
 | 
			
		||||
    #     core-apps.enable = false;
 | 
			
		||||
    #     core-developer-tools.enable = false;
 | 
			
		||||
    #     games.enable = false;
 | 
			
		||||
    #   };
 | 
			
		||||
 | 
			
		||||
      # Exclude some packages to keep the installation lean
 | 
			
		||||
      environment.gnome.excludePackages = with pkgs; [
 | 
			
		||||
        gnome-tour
 | 
			
		||||
        gnome-user-docs
 | 
			
		||||
      ];
 | 
			
		||||
    #   # Exclude some packages to keep the installation lean
 | 
			
		||||
    #   environment.gnome.excludePackages = with pkgs; [
 | 
			
		||||
    #     gnome-tour
 | 
			
		||||
    #     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 = {
 | 
			
		||||
    nix-config = {
 | 
			
		||||
      hypr = {
 | 
			
		||||
        internal-screen = {
 | 
			
		||||
            resolution = "auto";
 | 
			
		||||
            scale = "auto";
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
      # hypr = {
 | 
			
		||||
      #   internal-screen = {
 | 
			
		||||
      #       resolution = "auto";
 | 
			
		||||
      #       scale = "auto";
 | 
			
		||||
      #   };
 | 
			
		||||
      # };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
@@ -21,7 +21,7 @@ with lib.hm.gvariant;
 | 
			
		||||
    ../../modules/home-manager/documents.nix
 | 
			
		||||
    ../../modules/home-manager/fish.nix
 | 
			
		||||
    ../../modules/home-manager/flatpaks.nix
 | 
			
		||||
    ../../modules/home-manager/hypr
 | 
			
		||||
    # ../../modules/home-manager/hypr
 | 
			
		||||
    ../../modules/home-manager/keepassxc.nix
 | 
			
		||||
    ../../modules/home-manager/kitty.nix
 | 
			
		||||
    ../../modules/home-manager/kubectl.nix
 | 
			
		||||
@@ -31,7 +31,7 @@ with lib.hm.gvariant;
 | 
			
		||||
    ../../modules/home-manager/stylix.nix
 | 
			
		||||
    ../../modules/home-manager/thunderbird.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