From 6b93c2c5b7bcc9e11c8f6edd7bee2bc8c5276334 Mon Sep 17 00:00:00 2001 From: s-prechtl Date: Wed, 22 Jan 2025 15:18:25 +0100 Subject: [PATCH] feat: whatever lool --- flake.lock | 12 ++++++------ hosts/default/configuration.nix | 22 +++++++++++++++++++++- modules/home-manager/hyprland.nix | 2 +- modules/home-manager/zsh.nix | 1 + modules/nixos/main-user.nix | 2 +- 5 files changed, 30 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 81dcd94..12591ac 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1732482255, - "narHash": "sha256-GUffLwzawz5WRVfWaWCg78n/HrBJrOG7QadFY6rtV8A=", + "lastModified": 1733951607, + "narHash": "sha256-CN6q6iCzxI1gkNyk4xLdwaMKi10r7n+aJkRzWj8PXwQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "a9953635d7f34e7358d5189751110f87e3ac17da", + "rev": "6e5b2d9e8014b5572e3367937a329e7053458d34", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1732521221, - "narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=", + "lastModified": 1733759999, + "narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d", + "rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56", "type": "github" }, "original": { diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 409dfc6..67b7194 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -105,6 +105,7 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + SDL2 alacritty banana-cursor blueman @@ -114,6 +115,7 @@ clang-tools cmake curlHTTP3 + dig discord discord-canary electrum @@ -133,10 +135,11 @@ jdk libgcc loc + lolcat marp-cli - nerdfonts networkmanagerapplet nextcloud-client + nmap nodejs_22 obsidian onlyoffice-bin @@ -151,6 +154,7 @@ ripgrep rustup signal-desktop + sl socat spotify teams-for-linux @@ -168,14 +172,20 @@ wdisplays webcord wget + whois wireguard-tools wireshark + wl-clicker wl-clipboard wofi wofi-pass zip ]; + fonts.packages = with pkgs; [ + nerd-fonts.jetbrains-mono + ]; + programs = { neovim = { enable = true; @@ -216,6 +226,15 @@ setSocketVariable = true; }; }; + virtualbox = { + host.enable = true; + guest = { + enable = true; + clipboard = true; + dragAndDrop = true; + seamless = true; + }; + }; }; # Some programs need SUID wrappers, can be configured further or are @@ -250,6 +269,7 @@ # Or disable the firewall altogether. # networking.firewall.enable = false; security.pam.services.hyprlock = {}; + networking.firewall.checkReversePath = false; networking.wg-quick.interfaces = { home = { address = ["10.154.125.2/24"]; diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index 7611eb4..a0ddcfa 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -86,7 +86,7 @@ # MONITOR monitor = [ - "eDP-1,2560x1600@165.0,0x0,2" + "eDP-1,2560x1600@165.0,0x0,1.5" "DP-1,preferred,auto-right,2,bitdepth,10" "DP-2,preferred,auto-right,2,bitdepth,10" "DP-3,preferred,auto-right,2,bitdepth,10" diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index c70d984..71bfef6 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -8,6 +8,7 @@ ls = "exa --icons"; update = "sudo nixos-rebuild switch"; clear = "clear && fastfetch"; + sl = "sl | lolcat"; }; initExtra = "fastfetch"; diff --git a/modules/nixos/main-user.nix b/modules/nixos/main-user.nix index 6a883fb..223f484 100644 --- a/modules/nixos/main-user.nix +++ b/modules/nixos/main-user.nix @@ -23,7 +23,7 @@ in { users.users.${cfg.username} = { isNormalUser = true; initialPassword = "12345"; - extraGroups = ["docker" "input" "networkmanager" "wheel" "vboxusers" "libvirtd"]; + extraGroups = ["docker" "input" "networkmanager" "wheel" "vboxusers" "libvirtd" "wireshark"]; description = "Stefan"; shell = pkgs.zsh; };