diff --git a/README.md b/README.md index 315a2d7..d24951b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,11 @@ - This will download script with installation commands ```bash -nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' git+https://git.foglar.tech/foglar/dotfiles" +nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' git+https://git.foglar.tech/foglar/dotfiles.git" +``` + +```bash +nix-shell -p git --command "nix run --experimental-features 'nix-command flakes' github:foglar/nixos-config" ``` > [!IMPORTANT] diff --git a/flake.nix b/flake.nix index 2e53b2e..dcfac97 100644 --- a/flake.nix +++ b/flake.nix @@ -76,7 +76,7 @@ nixpkgs-stable, ... } @ inputs: let - userSettings = { + userSettings = rec { username = "shinya"; # konsta or shinya (else defaulting to shinya or none) hostname = "kogami"; # kogami or ginoza @@ -89,6 +89,8 @@ theme = "catppuccin-mocha"; # catppuccin-mocha, tokyo-night-dark, one-dark background = "aurora_borealis.png"; + configuration_path = "/home/${username}/.dotfiles"; + plasma = false; gnome = false; hyprland = true; diff --git a/kogami/configuration.nix b/kogami/configuration.nix index d8a6a2e..ecbf5fc 100644 --- a/kogami/configuration.nix +++ b/kogami/configuration.nix @@ -77,6 +77,11 @@ programs.wireshark.enable = true; programs.auto-cpufreq.enable = true; + services.logind.extraConfig = '' + # don’t shutdown when power button is short-pressed + HandlePowerKey=ignore + ''; + environment.systemPackages = [inputs.ghostty.packages.x86_64-linux.default]; #services.twingate.enable = true; diff --git a/nixos/home/apps/programming.nix b/nixos/home/apps/programming.nix index 4a19b56..c723cca 100644 --- a/nixos/home/apps/programming.nix +++ b/nixos/home/apps/programming.nix @@ -19,6 +19,7 @@ jetbrains.pycharm-professional dotnet-sdk_8 git-ignore + lazygit ]; nixpkgs.config.allowUnfreePredicate = pkg: