diff --git a/flake.lock b/flake.lock index b28eec6..ed1aa40 100644 --- a/flake.lock +++ b/flake.lock @@ -50,11 +50,11 @@ ] }, "locked": { - "lastModified": 1732742778, - "narHash": "sha256-i+Uw8VOHzQe9YdNwKRbzvaPWLE07tYVqUDzSFTXhRgk=", + "lastModified": 1733168902, + "narHash": "sha256-8dupm9GfK+BowGdQd7EHK5V61nneLfr9xR6sc5vtDi0=", "owner": "nix-community", "repo": "disko", - "rev": "341482e2f4d888e3f60cae1c12c3df896e7230d8", + "rev": "785c1e02c7e465375df971949b8dcbde9ec362e5", "type": "github" }, "original": { @@ -70,11 +70,11 @@ ] }, "locked": { - "lastModified": 1730504689, - "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "506278e768c2a08bec68eb62932193e341f55c90", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", "type": "github" }, "original": { @@ -111,11 +111,11 @@ ] }, "locked": { - "lastModified": 1732793095, - "narHash": "sha256-6TrknJ8CpvSSF4gviQSeD+wyj3siRcMvdBKhOXkEMKU=", + "lastModified": 1733873195, + "narHash": "sha256-dTosiZ3sZ/NKoLKQ++v8nZdEHya0eTNEsaizNp+MUPM=", "owner": "nix-community", "repo": "home-manager", - "rev": "2f7739d01080feb4549524e8f6927669b61c6ee3", + "rev": "f26aa4b76fb7606127032d33ac73d7d507d82758", "type": "github" }, "original": { @@ -140,11 +140,11 @@ ] }, "locked": { - "lastModified": 1732808127, - "narHash": "sha256-jwqYmLVfvoLPu8UScEzZgdbbiNU3ioYcrsthjEEnGqI=", + "lastModified": 1733248371, + "narHash": "sha256-FFLJzFTyNhS7tBEEECx0B8Ye/bpmxhFVEKlECgMLc6c=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "4d927a52be7e15e0846456f2aa1b0ad76b5bf059", + "rev": "cc95e5babc6065bc3ab4cd195429a9900836ef13", "type": "github" }, "original": { @@ -193,11 +193,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1732812191, - "narHash": "sha256-/gYMXqhjvOcjhaYjzb1iqjpoCDqO5lkkqjG93oMMo60=", + "lastModified": 1733672536, + "narHash": "sha256-bCtJwEmKG114e0y5GDj5fZ24KkgVVunbN9xgCjQa1OQ=", "owner": "hyprwm", "repo": "hyprlock", - "rev": "4667f721be47ff6f5cf2a7ee64513f818fb764a0", + "rev": "8010b81e7b4100a1f2ef937be5268a13c27987e9", "type": "github" }, "original": { @@ -218,11 +218,11 @@ ] }, "locked": { - "lastModified": 1727300645, - "narHash": "sha256-OvAtVLaSRPnbXzOwlR1fVqCXR7i+ICRX3aPMCdIiv+c=", + "lastModified": 1733502241, + "narHash": "sha256-KAUNC4Dgq8WQjYov5auBw/usaHixhacvb7cRDd0AG/k=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "3f5293432b6dc6a99f26aca2eba3876d2660665c", + "rev": "104117aed6dd68561be38b50f218190aa47f2cd8", "type": "github" }, "original": { @@ -251,11 +251,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1732483221, - "narHash": "sha256-kF6rDeCshoCgmQz+7uiuPdREVFuzhIorGOoPXMalL2U=", + "lastModified": 1733861262, + "narHash": "sha256-+jjPup/ByS0LEVIrBbt7FnGugJgLeG9oc+ivFASYn2U=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "45348ad6fb8ac0e8415f6e5e96efe47dd7f39405", + "rev": "cf737e2eba82b603f54f71b10cb8fd09d22ce3f5", "type": "github" }, "original": { @@ -283,11 +283,11 @@ }, "nixpkgs_2": { "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/home/graphical/swww.nix b/home/graphical/swww.nix index 262e042..65c38a5 100644 --- a/home/graphical/swww.nix +++ b/home/graphical/swww.nix @@ -21,7 +21,7 @@ } -t wipe --transition-fps 144"; Restart = "on-failure"; - ProtectHome = "tmpfs"; + ProtectHome = "readonly"; BindPaths = "/run/user /home/${config.home.username}/.cache/swww"; ProtectProc = "noaccess"; RestrictNamespaces = true; diff --git a/home/sway/default.nix b/home/sway/default.nix index a30ebb8..bbe500f 100644 --- a/home/sway/default.nix +++ b/home/sway/default.nix @@ -80,18 +80,23 @@ lib.mkIf osConfig.programs.sway.enable { "${mod}+Control+Left" = "workspace prev"; "${mod}+Control+Right" = "workspace next"; "${mod}+n" = "exec nysh msg dash toggle"; - "--locked XF86MonBrightnessUp" = "exec --no-startup-id ${pkgs.brightnessctl}/bin/brightnessctl s +10%"; - "--locked XF86MonBrightnessDown" = "exec --no-startup-id ${pkgs.brightnessctl}/bin/brightnessctl s 10%-"; + "--locked XF86MonBrightnessUp" = + "exec --no-startup-id ${pkgs.brightnessctl}/bin/brightnessctl s +10%"; + "--locked XF86MonBrightnessDown" = + "exec --no-startup-id ${pkgs.brightnessctl}/bin/brightnessctl s 10%-"; "--locked XF86AudioRaiseVolume" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer -i 5"; "--locked XF86AudioLowerVolume" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer -d 5"; - "--locked XF86AudioMicMute" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer --default-source -m"; + "--locked XF86AudioMicMute" = + "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer --default-source -m"; "--locked XF86AudioMute" = "exec --no-startup-id ${pkgs.pamixer}/bin/pamixer -t"; "--locked XF86AudioPlay" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; "--locked XF86AudioPause" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; "--locked XF86AudioNext" = "exec ${pkgs.playerctl}/bin/playerctl next"; "--locked XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous"; - "${mod}+u" = "exec ${pkgs.hyprshot}/bin/hyprshot -o ${config.xdg.userDirs.pictures}/screenshots -m region"; - "${mod}+Shift+u" = "exec ${pkgs.hyprshot}/bin/hyprshot --raw -m region | ${pkgs.satty}/bin/satty -f - --fullscreen"; + "${mod}+u" = + "exec ${pkgs.hyprshot}/bin/hyprshot -o ${config.xdg.userDirs.pictures}/screenshots -m region"; + "${mod}+Shift+u" = + "exec ${pkgs.hyprshot}/bin/hyprshot --raw -m region | ${pkgs.satty}/bin/satty -f - --fullscreen"; #: Workspace movement {{{ "--input-device=${inputs.kb.builtin} ${mod}+ampersand" = "workspace number 1"; @@ -104,15 +109,21 @@ lib.mkIf osConfig.programs.sway.enable { "--input-device=${inputs.kb.builtin} ${mod}+underscore" = "workspace number 8"; "--input-device=${inputs.kb.builtin} ${mod}+ccedilla" = "workspace number 9"; "--input-device=${inputs.kb.builtin} ${mod}+agrave" = "workspace number 10"; - "--input-device=${inputs.kb.builtin} ${mod}+Shift+ampersand" = "move container to workspace number 1"; + "--input-device=${inputs.kb.builtin} ${mod}+Shift+ampersand" = + "move container to workspace number 1"; "--input-device=${inputs.kb.builtin} ${mod}+Shift+eacute" = "move container to workspace number 2"; - "--input-device=${inputs.kb.builtin} ${mod}+Shift+quotedbl" = "move container to workspace number 3"; - "--input-device=${inputs.kb.builtin} ${mod}+Shift+apostrophe" = "move container to workspace number 4"; - "--input-device=${inputs.kb.builtin} ${mod}+Shift+parenleft" = "move container to workspace number 5"; + "--input-device=${inputs.kb.builtin} ${mod}+Shift+quotedbl" = + "move container to workspace number 3"; + "--input-device=${inputs.kb.builtin} ${mod}+Shift+apostrophe" = + "move container to workspace number 4"; + "--input-device=${inputs.kb.builtin} ${mod}+Shift+parenleft" = + "move container to workspace number 5"; "--input-device=${inputs.kb.builtin} ${mod}+Shift+minus" = "move container to workspace number 6"; "--input-device=${inputs.kb.builtin} ${mod}+Shift+egrave" = "move container to workspace number 7"; - "--input-device=${inputs.kb.builtin} ${mod}+Shift+underscore" = "move container to workspace number 8"; - "--input-device=${inputs.kb.builtin} ${mod}+Shift+ccedilla" = "move container to workspace number 9"; + "--input-device=${inputs.kb.builtin} ${mod}+Shift+underscore" = + "move container to workspace number 8"; + "--input-device=${inputs.kb.builtin} ${mod}+Shift+ccedilla" = + "move container to workspace number 9"; "--input-device=${inputs.kb.builtin} ${mod}+Shift+agrave" = "move container to workspace number 10"; #: }}} }; diff --git a/modules/fonts.nix b/modules/fonts.nix index dba8609..d981a69 100644 --- a/modules/fonts.nix +++ b/modules/fonts.nix @@ -4,7 +4,7 @@ enableDefaultPackages = true; fontDir.enable = true; packages = with pkgs; [ - (nerdfonts.override { fonts = [ "Noto" ]; }) + nerd-fonts.noto d2coding jigmo last-resort diff --git a/modules/system/audio.nix b/modules/system/audio.nix index 1936245..7ba5044 100644 --- a/modules/system/audio.nix +++ b/modules/system/audio.nix @@ -1,10 +1,10 @@ { # Enables wireplumber automatically services.pipewire = { - alsa = { - enable = true; - support32Bit = true; - }; + #alsa = { + #enable = true; + #support32Bit = true; + #}; pulse.enable = true; }; }