diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-30 09:14:35 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-30 09:14:35 +0530 |
| commit | 3b85116cd708fb94cf79bc68f853618b2906dfed (patch) | |
| tree | 26484003eb93c581793313f22465e2b33c8e6edc /nixos | |
| parent | c57791d3b1cb8e6ae23e304ba08c55746c0b8013 (diff) | |
nix flake update + added google-chrome, obs-studio, opencode, etc.
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/apps.nix | 23 | ||||
| -rw-r--r-- | nixos/desktop-environment.nix | 3 | ||||
| -rw-r--r-- | nixos/environment.nix | 2 | ||||
| -rw-r--r-- | nixos/home.nix | 15 |
4 files changed, 41 insertions, 2 deletions
diff --git a/nixos/apps.nix b/nixos/apps.nix index fc759b1..6ea2285 100644 --- a/nixos/apps.nix +++ b/nixos/apps.nix @@ -5,6 +5,7 @@ ./apps/browser.nix ]; environment.systemPackages = with pkgs; [ + google-chrome gimp vscode discord @@ -18,6 +19,24 @@ vlc ]; - networking.firewall.allowedTCPPorts = [ 53317 8081 ]; - networking.firewall.allowedUDPPorts = [ 53317 8081 ]; + programs.obs-studio = { + enable = true; + + package = ( + pkgs.obs-studio.override { + cudaSupport = true; + } + ); + + plugins = with pkgs.obs-studio-plugins; [ + wlrobs + obs-backgroundremoval + obs-pipewire-audio-capture + obs-gstreamer + obs-vkcapture + ]; + }; + + networking.firewall.allowedTCPPorts = [ 53317 8081 4173 ]; + networking.firewall.allowedUDPPorts = [ 53317 8081 4173 ]; } diff --git a/nixos/desktop-environment.nix b/nixos/desktop-environment.nix index 6fbf1f8..df0abdd 100644 --- a/nixos/desktop-environment.nix +++ b/nixos/desktop-environment.nix @@ -1,8 +1,10 @@ { config, pkgs, quickshell, ... }: { services.xserver.enable = true; + services.xserver.displayManager.startx.enable = true; services.displayManager.ly.enable = true; services.desktopManager.gnome.enable = false; + services.desktopManager.plasma6.enable = true; programs.hyprland.enable = true; programs.hyprlock.enable = true; programs.foot.enable = true; @@ -10,6 +12,7 @@ programs.dconf.enable = true; environment.systemPackages = with pkgs; [ quickshell.packages.${pkgs.system}.quickshell + qt6.qtwayland catppuccin-cursors.mochaMauve swaybg wl-clipboard diff --git a/nixos/environment.nix b/nixos/environment.nix index d9585f0..1175993 100644 --- a/nixos/environment.nix +++ b/nixos/environment.nix @@ -46,6 +46,7 @@ nmap inetutils android-tools + opencode sqlite bc @@ -59,6 +60,7 @@ cowsay lolcat just + process-compose jq termshark diff --git a/nixos/home.nix b/nixos/home.nix index c148e6d..ede2a2f 100644 --- a/nixos/home.nix +++ b/nixos/home.nix @@ -56,6 +56,21 @@ function mkcd mkdir -p $argv[1] cd $argv[1] end + +if not set -q SSH_AUTH_SOCK + set agents /tmp/ssh-*/agent.* + if test (count $agents) -gt 0 + set -x SSH_AUTH_SOCK $agents[1] + end +end + +if not set -q SSH_AUTH_SOCK + ssh-agent -c | source +end + +function run_sshagent + ssh-add ~/.ssh/id_ed25519 +end ''; shellAliases = { py="python"; |
