fixes and cleanup

This commit is contained in:
foglar 2025-01-03 16:09:40 +01:00
parent ef82b13831
commit 7ef66ec4e4
4 changed files with 14 additions and 2 deletions

View File

@ -29,7 +29,11 @@
- This will download script with installation commands - This will download script with installation commands
```bash ```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] > [!IMPORTANT]

View File

@ -76,7 +76,7 @@
nixpkgs-stable, nixpkgs-stable,
... ...
} @ inputs: let } @ inputs: let
userSettings = { userSettings = rec {
username = "shinya"; # konsta or shinya (else defaulting to shinya or none) username = "shinya"; # konsta or shinya (else defaulting to shinya or none)
hostname = "kogami"; # kogami or ginoza hostname = "kogami"; # kogami or ginoza
@ -89,6 +89,8 @@
theme = "catppuccin-mocha"; # catppuccin-mocha, tokyo-night-dark, one-dark theme = "catppuccin-mocha"; # catppuccin-mocha, tokyo-night-dark, one-dark
background = "aurora_borealis.png"; background = "aurora_borealis.png";
configuration_path = "/home/${username}/.dotfiles";
plasma = false; plasma = false;
gnome = false; gnome = false;
hyprland = true; hyprland = true;

View File

@ -77,6 +77,11 @@
programs.wireshark.enable = true; programs.wireshark.enable = true;
programs.auto-cpufreq.enable = true; programs.auto-cpufreq.enable = true;
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
environment.systemPackages = [inputs.ghostty.packages.x86_64-linux.default]; environment.systemPackages = [inputs.ghostty.packages.x86_64-linux.default];
#services.twingate.enable = true; #services.twingate.enable = true;

View File

@ -19,6 +19,7 @@
jetbrains.pycharm-professional jetbrains.pycharm-professional
dotnet-sdk_8 dotnet-sdk_8
git-ignore git-ignore
lazygit
]; ];
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg: