Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970{ config, lib, pkgs, pkgs-unstable, system, ... }:{ programs.fish.enable = true; users.users.hotsocket = lib.mkMerge [ { shell = pkgs.fish; } (lib.mkIf (lib.hasInfix "linux" system) { description = "ur mom"; isNormalUser = true; hashedPassword = "$y$j9T$zLozDIuafBb/SmDkuApXn/$fx4sfleiFwu5qK/yw3kD9EzmuCZWuv4lt3C9sf8oLH5"; extraGroups = [ "wheel" ]; } )]; # i love home-manager :) home-manager.users.hotsocket = if config.isWorkstation then { home = { stateVersion = "25.05"; username = "hotsocket"; homeDirectory = lib.mkForce (if (lib.hasInfix "darwin" system) then "/Users/hotsocket" else "/home/hotsocket"); packages = (with pkgs; [ # Shared packages. git direnv ]) ++ (with pkgs-unstable; [ # Shared unstable packages. # in case of multiplayer. that's the entire reason for me having unstable. luanti-client ]) ++ (lib.optionals (lib.hasInfix "linux" system) (with pkgs; [ # Linux-specific packages. jetbrains.idea-community-bin brave vscodium playerctl rescrobbled p7zip gimp3-with-plugins ])) ++ (lib.optionals (lib.hasInfix "darwin" system) (with pkgs; [ # Darwin-specific packages. At some point. ])); file = { ".config/VSCodium/product.json".text = builtins.readFile ../files/product.json; }; }; programs = { git = { enable = true; userName = "hotsocket"; userEmail = "th@hotsocket.fyi"; }; ssh = { matchBlocks = { "www" = { hostname = "www.hotsocket.fyi"; user = "hotsocket"; identityFile = "~/.ssh/id_ed25519"; }; "tangled.sh" = { user = "git"; identityFile = "~/.ssh/id_ed25519"; }; }; }; direnv = { enable = true; enableFishIntegration = true; }; }; services = { kdeconnect.enable = lib.mkIf (lib.hasInfix "linux" system) true; }; } else null;}