Compare commits
	
		
			No commits in common. "a61957211ce7a2663b11b0f9200c390365f144e8" and "fe837c76959e793fe8b7c17cc413ebd395640bcc" have entirely different histories.
		
	
	
		
			a61957211c
			...
			fe837c7695
		
	
		|  | @ -2,28 +2,27 @@ | ||||||
| # your system. Help is available in the configuration.nix(5) man page, on | # your system. Help is available in the configuration.nix(5) man page, on | ||||||
| # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). | # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). | ||||||
| 
 | 
 | ||||||
| { pkgs, inputs, catppuccinFlavor, ... }: | { config, lib, pkgs, callPackage, catppuccinFlavor, ... }: | ||||||
| 
 | 
 | ||||||
| { | { | ||||||
|   imports = [  |   imports = [  | ||||||
|     ./hardware-configuration.nix |     ./hardware-configuration.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   environment.variables.HYPRCURSOR_THEME = "McMojave"; |  | ||||||
| 
 |  | ||||||
|   programs.steam = { |   programs.steam = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play |     remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play | ||||||
|     dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server |     dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server | ||||||
|     localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers |     localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers | ||||||
|     gamescopeSession.enable = true; |  | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   catppuccin.flavor = catppuccinFlavor; |   catppuccin.flavor = catppuccinFlavor; | ||||||
|   catppuccin.enable = true; |   catppuccin.enable = true; | ||||||
|   programs.dconf.enable = true; |   programs.dconf.enable = true; | ||||||
| 
 | 
 | ||||||
|   # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; |   # Use the systemd-boot EFI boot loader. | ||||||
|  |   boot.loader.systemd-boot.enable = true; | ||||||
|  |   boot.loader.efi.canTouchEfiVariables = true; | ||||||
| 
 | 
 | ||||||
|   networking.hostName = "hp-laptop-lho"; # Define your hostname. |   networking.hostName = "hp-laptop-lho"; # Define your hostname. | ||||||
|   networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default. |   networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default. | ||||||
|  | @ -42,43 +41,45 @@ | ||||||
|     displayManager = { |     displayManager = { | ||||||
|       sddm = { |       sddm = { | ||||||
|         enable = true; |         enable = true; | ||||||
|         wayland.enable = true; |  | ||||||
|         package = pkgs.kdePackages.sddm; |         package = pkgs.kdePackages.sddm; | ||||||
|       }; |       }; | ||||||
|     };    |     };    | ||||||
|   }; |     xserver = { | ||||||
|  |       enable = true; | ||||||
|  |       desktopManager = { | ||||||
|  |         xterm.enable = false; | ||||||
|  |       }; | ||||||
| 
 | 
 | ||||||
|   programs.hyprland = { |       windowManager.i3 = { | ||||||
|     enable = true; |         enable = true; | ||||||
|     xwayland.enable = true; |         extraPackages = with pkgs; [ | ||||||
|  |           rofi | ||||||
|  |           polybar | ||||||
|  |           polybar-pulseaudio-control | ||||||
|  |           pavucontrol | ||||||
|  |           dunst | ||||||
|  |           i3lock-color # locksreen | ||||||
|  |           arandr # manager monitor | ||||||
|  |           lxqt.lxqt-sudo | ||||||
|  |         ]; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|   }; |   }; | ||||||
| 
 |  | ||||||
|   # git freeze fix |  | ||||||
|   programs.ssh = { |  | ||||||
|     enableAskPassword = true; |  | ||||||
|     askPassword = "${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass"; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   # Configure keymap in X11 |   # Configure keymap in X11 | ||||||
|   services.xserver.xkb.layout = "ch"; |   services.xserver.xkb.layout = "ch"; | ||||||
|   services.displayManager.defaultSession = "hyprland"; |   services.displayManager.defaultSession = "none+i3"; | ||||||
|   # services.xserver.xkb.options = "eurosign:e,caps:escape"; |   # services.xserver.xkb.options = "eurosign:e,caps:escape"; | ||||||
| 
 | 
 | ||||||
|   # Enable CUPS to print documents. |   # Enable CUPS to print documents. | ||||||
|   # services.printing.enable = true; |   # services.printing.enable = true; | ||||||
| 
 | 
 | ||||||
|   # Enable sound. |   # Enable sound. | ||||||
|   hardware.pulseaudio = { |   hardware.pulseaudio.enable = true; | ||||||
|     enable = true; |  | ||||||
|     support32Bit = true; |  | ||||||
|   }; |  | ||||||
|   nixpkgs.config.pulseaudio = true; |  | ||||||
|   # OR |   # OR | ||||||
|   services.pipewire.enable = false; |   # services.pipewire = { | ||||||
|   #services.pipewire = { |   #   enable = true; | ||||||
|   #  enable = true; |   #   pulse.enable = true; | ||||||
|   #  pulse.enable = true; |   # }; | ||||||
|   #}; |  | ||||||
| 
 | 
 | ||||||
|   # Enable touchpad support (enabled default in most desktopManager). |   # Enable touchpad support (enabled default in most desktopManager). | ||||||
|   # services.libinput.enable = true; |   # services.libinput.enable = true; | ||||||
|  | @ -93,23 +94,11 @@ | ||||||
|    |    | ||||||
|   services.libinput.touchpad.naturalScrolling = true; |   services.libinput.touchpad.naturalScrolling = true; | ||||||
|   services.auto-cpufreq.enable = true; |   services.auto-cpufreq.enable = true; | ||||||
|   services.gnome.gnome-keyring.enable = true; |  | ||||||
|   security.pam.services.sddm.enableGnomeKeyring = true; |  | ||||||
| 
 |  | ||||||
|   virtualisation.docker.enable = true; |  | ||||||
| 
 |  | ||||||
|   virtualisation.docker.rootless = { |  | ||||||
|     enable = true; |  | ||||||
|     setSocketVariable = true; |  | ||||||
|   }; |  | ||||||
| 
 | 
 | ||||||
|   users.users.lorenz = { |   users.users.lorenz = { | ||||||
|    shell = pkgs.zsh; |    shell = pkgs.zsh; | ||||||
|    isNormalUser = true; |    isNormalUser = true; | ||||||
|    extraGroups = [  |    extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. | ||||||
|       "wheel" # Enable ‘sudo’ for the user. |  | ||||||
|       "docker"  |  | ||||||
|     ];  |  | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   fonts.packages = with pkgs; [ |   fonts.packages = with pkgs; [ | ||||||
|  | @ -122,19 +111,16 @@ | ||||||
|   users.defaultUserShell = pkgs.zsh; |   users.defaultUserShell = pkgs.zsh; | ||||||
|   environment.systemPackages = [ |   environment.systemPackages = [ | ||||||
|     pkgs.auto-cpufreq |     pkgs.auto-cpufreq | ||||||
|     pkgs.killall |  | ||||||
| 
 | 
 | ||||||
|     pkgs.neovim |     pkgs.neovim | ||||||
|     pkgs.neofetch |     pkgs.neofetch | ||||||
| 
 | 
 | ||||||
|     pkgs.wget |     pkgs.wget | ||||||
| 
 | 
 | ||||||
|     # for neovim |  | ||||||
|     pkgs.gcc |     pkgs.gcc | ||||||
|     pkgs.nodejs_22 |     pkgs.nodejs_22 | ||||||
|     pkgs.python313 |     pkgs.python313 | ||||||
|     pkgs.cargo |     pkgs.cargo | ||||||
|     pkgs.go |  | ||||||
|      |      | ||||||
|     pkgs.networkmanager_dmenu |     pkgs.networkmanager_dmenu | ||||||
|     pkgs.dmenu |     pkgs.dmenu | ||||||
|  | @ -148,29 +134,6 @@ | ||||||
|      |      | ||||||
|     pkgs.gitFull # git, git gui, gitk |     pkgs.gitFull # git, git gui, gitk | ||||||
|     pkgs.tk # for git ui |     pkgs.tk # for git ui | ||||||
| 
 |  | ||||||
|     pkgs.lxqt.lxqt-openssh-askpass # git freeze fix |  | ||||||
| 
 |  | ||||||
|     pkgs.pavucontrol |  | ||||||
|     pkgs.dunst |  | ||||||
|     pkgs.i3lock-color # locksreen |  | ||||||
|     pkgs.arandr # manager monitor |  | ||||||
|     pkgs.lxqt.lxqt-sudo |  | ||||||
| 
 |  | ||||||
|     #hyprland |  | ||||||
|     pkgs.rofi-wayland |  | ||||||
|     pkgs.waybar |  | ||||||
|     pkgs.hyprlock |  | ||||||
|     pkgs.hyprpaper |  | ||||||
| 
 |  | ||||||
|     pkgs.kanshi |  | ||||||
| 
 |  | ||||||
|     inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default |  | ||||||
|   ]; |  | ||||||
| 
 |  | ||||||
|   programs.nix-ld.libraries = with pkgs; [ |  | ||||||
|     pkgs.lua-language-server |  | ||||||
|     pkgs.lua |  | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   # Some programs need SUID wrappers, can be configured further or are |   # Some programs need SUID wrappers, can be configured further or are | ||||||
|  | @ -186,14 +149,11 @@ | ||||||
|   # Enable the OpenSSH daemon. |   # Enable the OpenSSH daemon. | ||||||
|   services.openssh.enable = true; |   services.openssh.enable = true; | ||||||
| 
 | 
 | ||||||
|   networking.firewall = { |   # Open ports in the firewall. | ||||||
|     enable = true; |   # networking.firewall.allowedTCPPorts = [ ... ]; | ||||||
|     allowedTCPPorts = [ 53317 ]; |   # networking.firewall.allowedUDPPorts = [ ... ]; | ||||||
|     allowedUDPPorts = [ 53317 ]; |   # Or disable the firewall altogether. | ||||||
|   }; |   # networking.firewall.enable = false; | ||||||
| 
 |  | ||||||
|   virtualisation.libvirtd.enable = true; |  | ||||||
|   programs.virt-manager.enable = true; |  | ||||||
| 
 | 
 | ||||||
|   # Copy the NixOS configuration file and link it from the resulting system |   # Copy the NixOS configuration file and link it from the resulting system | ||||||
|   # (/run/current-system/configuration.nix). This is useful in case you |   # (/run/current-system/configuration.nix). This is useful in case you | ||||||
|  |  | ||||||
							
								
								
									
										194
									
								
								flake.lock
								
								
								
								
							
							
						
						
									
										194
									
								
								flake.lock
								
								
								
								
							|  | @ -2,11 +2,11 @@ | ||||||
|   "nodes": { |   "nodes": { | ||||||
|     "catppuccin": { |     "catppuccin": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1731232837, |         "lastModified": 1721784420, | ||||||
|         "narHash": "sha256-0aIwr/RC/oe7rYkfJb47xjdEQDSNcqpFGsEa+EPlDEs=", |         "narHash": "sha256-bgF6fN4Qgk7NErFKGuuqWXcLORsiykTYyqMUFRiAUBY=", | ||||||
|         "owner": "catppuccin", |         "owner": "catppuccin", | ||||||
|         "repo": "nix", |         "repo": "nix", | ||||||
|         "rev": "32359bf226fe874d3b7a0a5753d291a4da9616fe", |         "rev": "8bdb55cc1c13f572b6e4307a3c0d64f1ae286a4f", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -38,11 +38,11 @@ | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1731968878, |         "lastModified": 1721534365, | ||||||
|         "narHash": "sha256-+hTCwETOE9N8voTAaF+IzdUZz28Ws3LDpH90FWADrEE=", |         "narHash": "sha256-XpZOkaSJKdOsz1wU6JfO59Rx2fqtcarQ0y6ndIOKNpI=", | ||||||
|         "owner": "nix-community", |         "owner": "nix-community", | ||||||
|         "repo": "home-manager", |         "repo": "home-manager", | ||||||
|         "rev": "a42fa14b53ceab66274a21da480c9f8e06204173", |         "rev": "635563f245309ef5320f80c7ebcb89b2398d2949", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -52,149 +52,13 @@ | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "hyprcursor": { |  | ||||||
|       "inputs": { |  | ||||||
|         "hyprlang": "hyprlang", |  | ||||||
|         "nixpkgs": [ |  | ||||||
|           "mcmojave-hyprcursor", |  | ||||||
|           "nixpkgs" |  | ||||||
|         ], |  | ||||||
|         "systems": "systems" |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1721330371, |  | ||||||
|         "narHash": "sha256-aYlHTWylczLt6ERJyg6E66Y/XSCbVL7leVcRuJmVbpI=", |  | ||||||
|         "owner": "hyprwm", |  | ||||||
|         "repo": "hyprcursor", |  | ||||||
|         "rev": "4493a972b48f9c3014befbbf381ed5fff91a65dc", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "hyprwm", |  | ||||||
|         "repo": "hyprcursor", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "hyprlang": { |  | ||||||
|       "inputs": { |  | ||||||
|         "hyprutils": "hyprutils", |  | ||||||
|         "nixpkgs": [ |  | ||||||
|           "mcmojave-hyprcursor", |  | ||||||
|           "hyprcursor", |  | ||||||
|           "nixpkgs" |  | ||||||
|         ], |  | ||||||
|         "systems": [ |  | ||||||
|           "mcmojave-hyprcursor", |  | ||||||
|           "hyprcursor", |  | ||||||
|           "systems" |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1721324361, |  | ||||||
|         "narHash": "sha256-BiJKO0IIdnSwHQBSrEJlKlFr753urkLE48wtt0UhNG4=", |  | ||||||
|         "owner": "hyprwm", |  | ||||||
|         "repo": "hyprlang", |  | ||||||
|         "rev": "adbefbf49664a6c2c8bf36b6487fd31e3eb68086", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "hyprwm", |  | ||||||
|         "repo": "hyprlang", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "hyprutils": { |  | ||||||
|       "inputs": { |  | ||||||
|         "nixpkgs": [ |  | ||||||
|           "mcmojave-hyprcursor", |  | ||||||
|           "hyprcursor", |  | ||||||
|           "hyprlang", |  | ||||||
|           "nixpkgs" |  | ||||||
|         ], |  | ||||||
|         "systems": [ |  | ||||||
|           "mcmojave-hyprcursor", |  | ||||||
|           "hyprcursor", |  | ||||||
|           "hyprlang", |  | ||||||
|           "systems" |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1721324102, |  | ||||||
|         "narHash": "sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk=", |  | ||||||
|         "owner": "hyprwm", |  | ||||||
|         "repo": "hyprutils", |  | ||||||
|         "rev": "962582a090bc233c4de9d9897f46794280288989", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "hyprwm", |  | ||||||
|         "repo": "hyprutils", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "mcmojave-hyprcursor": { |  | ||||||
|       "inputs": { |  | ||||||
|         "hyprcursor": "hyprcursor", |  | ||||||
|         "nixpkgs": "nixpkgs", |  | ||||||
|         "systems": "systems_2" |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1722822648, |  | ||||||
|         "narHash": "sha256-aM3y6Fq156ilzKUPrZTwp+XWmIqcoQeklRERN0Y0Nvo=", |  | ||||||
|         "owner": "libadoxon", |  | ||||||
|         "repo": "mcmojave-hyprcursor", |  | ||||||
|         "rev": "ad4bbde8d87810f74fe72ae102ce824f26bb1b07", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "libadoxon", |  | ||||||
|         "repo": "mcmojave-hyprcursor", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "nix-ld": { |  | ||||||
|       "inputs": { |  | ||||||
|         "nixpkgs": [ |  | ||||||
|           "nixpkgs" |  | ||||||
|         ] |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1728031945, |  | ||||||
|         "narHash": "sha256-NRkLjdMtVfC6dD1gEbYZWFEtbmC2xfD6ft1IP7l76Vw=", |  | ||||||
|         "owner": "Mic92", |  | ||||||
|         "repo": "nix-ld", |  | ||||||
|         "rev": "4524c512e8729ccb5a1b9239d01e1474cbf074a2", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "Mic92", |  | ||||||
|         "repo": "nix-ld", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "nixpkgs": { |     "nixpkgs": { | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1722062969, |         "lastModified": 1721379653, | ||||||
|         "narHash": "sha256-QOS0ykELUmPbrrUGmegAUlpmUFznDQeR4q7rFhl8eQg=", |         "narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=", | ||||||
|         "owner": "NixOS", |         "owner": "NixOS", | ||||||
|         "repo": "nixpkgs", |         "repo": "nixpkgs", | ||||||
|         "rev": "b73c2221a46c13557b1b3be9c2070cc42cf01eb3", |         "rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374", | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "NixOS", |  | ||||||
|         "ref": "nixos-unstable", |  | ||||||
|         "repo": "nixpkgs", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "nixpkgs_2": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1731676054, |  | ||||||
|         "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", |  | ||||||
|         "owner": "NixOS", |  | ||||||
|         "repo": "nixpkgs", |  | ||||||
|         "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", |  | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -208,9 +72,7 @@ | ||||||
|       "inputs": { |       "inputs": { | ||||||
|         "catppuccin": "catppuccin", |         "catppuccin": "catppuccin", | ||||||
|         "home-manager": "home-manager", |         "home-manager": "home-manager", | ||||||
|         "mcmojave-hyprcursor": "mcmojave-hyprcursor", |         "nixpkgs": "nixpkgs", | ||||||
|         "nix-ld": "nix-ld", |  | ||||||
|         "nixpkgs": "nixpkgs_2", |  | ||||||
|         "spicetify-nix": "spicetify-nix" |         "spicetify-nix": "spicetify-nix" | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  | @ -222,11 +84,11 @@ | ||||||
|         ] |         ] | ||||||
|       }, |       }, | ||||||
|       "locked": { |       "locked": { | ||||||
|         "lastModified": 1731989835, |         "lastModified": 1722053480, | ||||||
|         "narHash": "sha256-Y1S+x2jWLQB9hn4aG04/213ZlTp+30itKe9KcSsrFgw=", |         "narHash": "sha256-DG1jdoSIcRLkQvCs63MSMJmssHTwm4zGOmP3hUtAzSY=", | ||||||
|         "owner": "Gerg-L", |         "owner": "Gerg-L", | ||||||
|         "repo": "spicetify-nix", |         "repo": "spicetify-nix", | ||||||
|         "rev": "aac6c81489f61034916efa4ed62840dc1d72c413", |         "rev": "e954f700aeaeb1b4df261c68c2391089f655fac8", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       }, |       }, | ||||||
|       "original": { |       "original": { | ||||||
|  | @ -234,36 +96,6 @@ | ||||||
|         "repo": "spicetify-nix", |         "repo": "spicetify-nix", | ||||||
|         "type": "github" |         "type": "github" | ||||||
|       } |       } | ||||||
|     }, |  | ||||||
|     "systems": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1689347949, |  | ||||||
|         "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", |  | ||||||
|         "owner": "nix-systems", |  | ||||||
|         "repo": "default-linux", |  | ||||||
|         "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "nix-systems", |  | ||||||
|         "repo": "default-linux", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "systems_2": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1689347949, |  | ||||||
|         "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", |  | ||||||
|         "owner": "nix-systems", |  | ||||||
|         "repo": "default-linux", |  | ||||||
|         "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "nix-systems", |  | ||||||
|         "repo": "default-linux", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   "root": "root", |   "root": "root", | ||||||
|  |  | ||||||
							
								
								
									
										14
									
								
								flake.nix
								
								
								
								
							
							
						
						
									
										14
									
								
								flake.nix
								
								
								
								
							|  | @ -10,13 +10,9 @@ | ||||||
|       url = "github:Gerg-L/spicetify-nix"; |       url = "github:Gerg-L/spicetify-nix"; | ||||||
|       inputs.nixpkgs.follows = "nixpkgs"; |       inputs.nixpkgs.follows = "nixpkgs"; | ||||||
|     }; |     }; | ||||||
|     nix-ld.url = "github:Mic92/nix-ld"; |  | ||||||
|     nix-ld.inputs.nixpkgs.follows = "nixpkgs"; |  | ||||||
| 
 |  | ||||||
|     mcmojave-hyprcursor.url = "github:libadoxon/mcmojave-hyprcursor"; |  | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   outputs = { self, nixpkgs, ... } @ inputs: let |   outputs = { nixpkgs, home-manager, catppuccin, spicetify-nix, ... } @ inputs: let | ||||||
|     lib = nixpkgs.lib; |     lib = nixpkgs.lib; | ||||||
|     system = "x86_64-linux"; |     system = "x86_64-linux"; | ||||||
|     pkgs = nixpkgs.legacyPackages.${system}; |     pkgs = nixpkgs.legacyPackages.${system}; | ||||||
|  | @ -26,18 +22,16 @@ | ||||||
|       hp-laptop-lho = lib.nixosSystem { |       hp-laptop-lho = lib.nixosSystem { | ||||||
|           inherit system; |           inherit system; | ||||||
|           specialArgs = { |           specialArgs = { | ||||||
|             inherit inputs; |  | ||||||
|             inherit catppuccinFlavor; |             inherit catppuccinFlavor; | ||||||
|           }; |           }; | ||||||
|           modules = [  |           modules = [  | ||||||
|             inputs.nix-ld.nixosModules.nix-ld |  | ||||||
|             ./configuration.nix |             ./configuration.nix | ||||||
|             inputs.catppuccin.nixosModules.catppuccin |             catppuccin.nixosModules.catppuccin | ||||||
|           ]; |           ]; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|     homeConfigurations = { |     homeConfigurations = { | ||||||
|       lorenz = inputs.home-manager.lib.homeManagerConfiguration { |       lorenz = home-manager.lib.homeManagerConfiguration { | ||||||
|           inherit pkgs; |           inherit pkgs; | ||||||
|           extraSpecialArgs = {  |           extraSpecialArgs = {  | ||||||
|             inherit inputs; |             inherit inputs; | ||||||
|  | @ -45,7 +39,7 @@ | ||||||
|           }; |           }; | ||||||
|           modules = [  |           modules = [  | ||||||
|             ./home.nix |             ./home.nix | ||||||
|             inputs.catppuccin.homeManagerModules.catppuccin |             catppuccin.homeManagerModules.catppuccin | ||||||
|           ]; |           ]; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|  |  | ||||||
							
								
								
									
										57
									
								
								home.nix
								
								
								
								
							
							
						
						
									
										57
									
								
								home.nix
								
								
								
								
							|  | @ -1,6 +1,5 @@ | ||||||
| { pkgs, inputs, catppuccinFlavor, ... }: | { config, pkgs, inputs, catppuccinFlavor, ... }: | ||||||
| {  | { imports = [ | ||||||
|   imports = [ |  | ||||||
|     inputs.spicetify-nix.homeManagerModules.default |     inputs.spicetify-nix.homeManagerModules.default | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|  | @ -27,11 +26,6 @@ | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   # git freeze fix |  | ||||||
|   home.sessionVariables = { |  | ||||||
|     SSH_ASKPASS = "${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass"; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   #spotify |   #spotify | ||||||
| 
 | 
 | ||||||
|   programs.spicetify = |   programs.spicetify = | ||||||
|  | @ -72,7 +66,6 @@ | ||||||
|     style.name = "kvantum"; |     style.name = "kvantum"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
|   # Home Manager needs a bit of information about you and the paths it should |   # Home Manager needs a bit of information about you and the paths it should | ||||||
|   # manage. |   # manage. | ||||||
|   home.username = "lorenz"; |   home.username = "lorenz"; | ||||||
|  | @ -92,8 +85,6 @@ | ||||||
|   # environment. |   # environment. | ||||||
|   nixpkgs.config.allowUnfree = true; |   nixpkgs.config.allowUnfree = true; | ||||||
|   home.packages = [ |   home.packages = [ | ||||||
|     pkgs.firefox |  | ||||||
| 
 |  | ||||||
|     pkgs.git-credential-manager |     pkgs.git-credential-manager | ||||||
|     pkgs.zsh # shell |     pkgs.zsh # shell | ||||||
|     pkgs.fzf # fuzzy search |     pkgs.fzf # fuzzy search | ||||||
|  | @ -110,56 +101,12 @@ | ||||||
|     pkgs.keepassxc # passwords |     pkgs.keepassxc # passwords | ||||||
|     pkgs.devdocs-desktop # docs |     pkgs.devdocs-desktop # docs | ||||||
|     pkgs.spicetify-cli # spotify |     pkgs.spicetify-cli # spotify | ||||||
|     pkgs.gimp |  | ||||||
| 
 | 
 | ||||||
|     pkgs.libreoffice-qt # office |     pkgs.libreoffice-qt # office | ||||||
|     pkgs.hunspell # spell check |     pkgs.hunspell # spell check | ||||||
|     pkgs.hunspellDicts.uk_UA |     pkgs.hunspellDicts.uk_UA | ||||||
|     pkgs.hunspellDicts.de_CH |     pkgs.hunspellDicts.de_CH | ||||||
| 
 | 
 | ||||||
|     pkgs.godot_4 |  | ||||||
|     pkgs.discord |  | ||||||
|     pkgs.betterdiscordctl |  | ||||||
|     pkgs.aseprite |  | ||||||
| 
 |  | ||||||
|     pkgs.hyprshot |  | ||||||
|     pkgs.xdg-desktop-portal-kde |  | ||||||
|     pkgs.xdg-desktop-portal |  | ||||||
| 
 |  | ||||||
|     pkgs.xournalpp |  | ||||||
|     pkgs.texliveGUST |  | ||||||
| 
 |  | ||||||
|     pkgs.unzip |  | ||||||
|     pkgs.textsnatcher |  | ||||||
|     pkgs.copyq |  | ||||||
| 
 |  | ||||||
|     #d-bus |  | ||||||
|     pkgs.d-spy |  | ||||||
|     pkgs.kdePackages.qttools |  | ||||||
| 
 |  | ||||||
|     pkgs.wireshark |  | ||||||
|     pkgs.hoppscotch |  | ||||||
|      |  | ||||||
|     #flash boot sticks |  | ||||||
|     pkgs.impression |  | ||||||
|     pkgs.rpi-imager |  | ||||||
| 
 |  | ||||||
|     pkgs.xorg.xrandr |  | ||||||
| 
 |  | ||||||
|     #alternative to airdrop |  | ||||||
|     pkgs.localsend |  | ||||||
| 
 |  | ||||||
|     #edit metadata |  | ||||||
|     pkgs.metadata-cleaner |  | ||||||
| 
 |  | ||||||
|     #convert images |  | ||||||
|     pkgs.switcheroo |  | ||||||
| 
 |  | ||||||
|     pkgs.jetbrains.datagrip |  | ||||||
|     pkgs.jetbrains.idea-ultimate |  | ||||||
| 
 |  | ||||||
|     #better man pages |  | ||||||
|     pkgs.tealdeer # run wtih tldr |  | ||||||
|     # # It is sometimes useful to fine-tune packages, for example, by applying |     # # It is sometimes useful to fine-tune packages, for example, by applying | ||||||
|     # # overrides. You can do that directly here, just don't forget the |     # # overrides. You can do that directly here, just don't forget the | ||||||
|     # # parentheses. Maybe you want to install Nerd Fonts with a limited number of |     # # parentheses. Maybe you want to install Nerd Fonts with a limited number of | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue