From 3b85116cd708fb94cf79bc68f853618b2906dfed Mon Sep 17 00:00:00 2001 From: Aargh Rai Date: Thu, 30 Apr 2026 09:14:35 +0530 Subject: nix flake update + added google-chrome, obs-studio, opencode, etc. --- flake.lock | 26 +++++++++++++------------- home-manager/home.nix | 16 ---------------- hypr/hyprland.conf | 1 + hypr/monitors.conf | 0 hypr/workspaces.conf | 0 nixos/apps.nix | 23 +++++++++++++++++++++-- nixos/desktop-environment.nix | 3 +++ nixos/environment.nix | 2 ++ nixos/home.nix | 15 +++++++++++++++ nvim/lazy-lock.json | 28 ++++++++++++++-------------- quickshell/shell.qml | 4 ++-- 11 files changed, 71 insertions(+), 47 deletions(-) create mode 100644 hypr/monitors.conf create mode 100644 hypr/workspaces.conf diff --git a/flake.lock b/flake.lock index 712b47c..770ae30 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1775595990, - "narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=", + "lastModified": 1777077449, + "narHash": "sha256-AIiMJiqvGrN4HyLEbKAoCSRRYn0rnlW5VbKNIMIYqm4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2", + "rev": "a4bf06618f0b5ee50f14ed8f0da77d34ecc19160", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1775423009, - "narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=", + "lastModified": 1776877367, + "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9", + "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", "type": "github" }, "original": { @@ -60,11 +60,11 @@ ] }, "locked": { - "lastModified": 1775720097, - "narHash": "sha256-p+vqkCuFfVNyQBo370wr6MebNUvz55RZiC0m8YKUhvQ=", + "lastModified": 1777281513, + "narHash": "sha256-lnWn2iLvwVgFEG4q9SWj86lllXzOlG1ip92lqh4XYAY=", "ref": "refs/heads/master", - "rev": "d4c92973b53d9fa34cc110d3b974eb6bde5b3027", - "revCount": 800, + "rev": "018c8a83973a6fa55dcdd66d18d14a998179a8dd", + "revCount": 811, "type": "git", "url": "https://git.outfoxxed.me/quickshell/quickshell" }, @@ -92,11 +92,11 @@ ] }, "locked": { - "lastModified": 1775699406, - "narHash": "sha256-YpDALorsidLjSyS5ozvsNI7Gz/bkmDs/ls/9oHKPv40=", + "lastModified": 1777269342, + "narHash": "sha256-8Wok2HzykE2yc9V3vtMXuBNuV8Yh4+JMdzIET9PghfM=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "b05c87c1a474cdd6979a4e5f7058edf4073554df", + "rev": "3c01a7253335cb590da182eec76862b981b00ad9", "type": "github" }, "original": { diff --git a/home-manager/home.nix b/home-manager/home.nix index e0fb943..f692d31 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -43,22 +43,6 @@ in { home.stateVersion = "25.05"; home.packages = with pkgs; [ devenv - # # Adds the 'hello' command to your environment. It prints a friendly - # # "Hello, world!" when run. - # pkgs.hello - - # # It is sometimes useful to fine-tune packages, for example, by applying - # # overrides. You can do that directly here, just don't forget the - # # parentheses. Maybe you want to install Nerd Fonts with a limited number of - # # fonts? - # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) - - # # You can also create simple shell scripts directly inside your - # # configuration. For example, this adds a command 'my-hello' to your - # # environment: - # (pkgs.writeShellScriptBin "my-hello" '' - # echo "Hello, ${config.home.username}!" - # '') ]; home.file = { diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index c30d3f0..93a3f6c 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -8,6 +8,7 @@ source=hyprland/env.conf monitor=,preferred,auto,1 + ################### ### PERMISSIONS ### ################### diff --git a/hypr/monitors.conf b/hypr/monitors.conf new file mode 100644 index 0000000..e69de29 diff --git a/hypr/workspaces.conf b/hypr/workspaces.conf new file mode 100644 index 0000000..e69de29 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"; diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 55eeca0..ccaacd5 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -1,31 +1,31 @@ { - "LuaSnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" }, - "NvChad": { "branch": "v2.5", "commit": "a792fd1d96c1511a165b18911164baa28bf1d6f4" }, + "LuaSnip": { "branch": "master", "commit": "a62e1083a3cfe8b6b206e7d3d33a51091df25357" }, + "NvChad": { "branch": "v2.5", "commit": "d042cc975247c2aa55fcb228e5d146dc1dc6c648" }, "base46": { "branch": "v3.0", "commit": "884b990dcdbe07520a0892da6ba3e8d202b46337" }, "cmp-async-path": { "branch": "main", "commit": "f8af3f726e07f2e9d37672eaa9102581aefce149" }, "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, "cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" }, "cmp-nvim-lua": { "branch": "main", "commit": "e3a22cb071eb9d6508a156306b102c45cd2d573d" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, - "conform.nvim": { "branch": "master", "commit": "973f3cb73887d510321653044791d7937c7ec0fa" }, + "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" }, "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, - "gitsigns.nvim": { "branch": "main", "commit": "e1fb5425c8812214209b3f24eaa582c6c552cf98" }, + "gitsigns.nvim": { "branch": "main", "commit": "6d808f99bd63303646794406e270bd553ad7792e" }, "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, - "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, - "mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" }, + "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, + "mason.nvim": { "branch": "main", "commit": "12ddd182d9efbdc848b540f16484a583d52da0fb" }, "menu": { "branch": "main", "commit": "7a0a4a2896b715c066cfbe320bdc048091874cc6" }, "minty": { "branch": "main", "commit": "aafc9e8e0afe6bf57580858a2849578d8d8db9e0" }, "nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" }, "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" }, - "nvim-lspconfig": { "branch": "master", "commit": "7fac9025a967a4d0846660f751cd392fac6bb788" }, - "nvim-tree.lua": { "branch": "master", "commit": "b0b49552c9462900a882fe772993b01d780445fe" }, - "nvim-treesitter": { "branch": "main", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, - "nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" }, - "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, - "telescope.nvim": { "branch": "master", "commit": "cfb85dcf7f822b79224e9e6aef9e8c794211b20b" }, + "nvim-lspconfig": { "branch": "master", "commit": "e146efacbafed3789ac568abcc5a981c5decaa58" }, + "nvim-tree.lua": { "branch": "master", "commit": "d277467fc0d1d0e2bca88165a1de6b526f9f6fe8" }, + "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, + "nvim-web-devicons": { "branch": "master", "commit": "c72328a5494b4502947a022fe69c0c47e53b6aa6" }, + "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, + "telescope.nvim": { "branch": "master", "commit": "028d9a0695a0cc4cfa893889f8c408ed7ccc8adc" }, "ui": { "branch": "v3.0", "commit": "cb75908a86720172594b30de147272c1b3a7f452" }, - "undotree": { "branch": "master", "commit": "15d91b0afe04ea9ba5cd53e30190d1602af9a925" }, - "vim-tmux-navigator": { "branch": "master", "commit": "c45243dc1f32ac6bcf6068e5300f3b2b237e576a" }, + "undotree": { "branch": "master", "commit": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d" }, + "vim-tmux-navigator": { "branch": "master", "commit": "e41c431a0c7b7388ae7ba341f01a0d217eb3a432" }, "volt": { "branch": "main", "commit": "620de1321f275ec9d80028c68d1b88b409c0c8b1" }, "which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" } } diff --git a/quickshell/shell.qml b/quickshell/shell.qml index ca17fb4..cab8d77 100644 --- a/quickshell/shell.qml +++ b/quickshell/shell.qml @@ -195,7 +195,7 @@ ShellRoot { color: "transparent" exclusiveZone: 0 - + WlrLayershell.layer: WlrLayer.Overlay WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand @@ -245,7 +245,7 @@ ShellRoot { } Rectangle { - id: batteryModeConfigRect + id: blinkRect width: 800 height: 400 -- cgit v1.2.3