diff --git a/flake.lock b/flake.lock index fde817f..a62e1f5 100644 --- a/flake.lock +++ b/flake.lock @@ -399,11 +399,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1670534695, - "narHash": "sha256-YNPiXsaZSQvetwsnrHuRxQnm8t9p5y9Nd3lRW6bPVxM=", + "lastModified": 1670598058, + "narHash": "sha256-zMK3VZWTYKJHCA0bl8Xg0AFX5rnhDR18VCtS28Ur3tY=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "726732244a5d51a0da54219174c13f4428017b79", + "rev": "b9812f8bc0f372875af8c332e4537fdbf2b99c23", "type": "github" }, "original": { @@ -711,11 +711,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1670332253, - "narHash": "sha256-O5SmhlIUt1s+vK4NXeGYqwcBIMwbBPAEZ3GHE3XT28c=", + "lastModified": 1670507980, + "narHash": "sha256-riNZa0xzM1it3pzxciwALeMs+0CsBMWIW2FqulzK8vM=", "owner": "NULLx76", "repo": "nixpkgs", - "rev": "1c9ffcf70786f0966982ce0fc76ec05df2e1dec2", + "rev": "2787fc7d1e51404678614bf0fe92fc296746eec0", "type": "github" }, "original": { @@ -1135,11 +1135,11 @@ ] }, "locked": { - "lastModified": 1670202338, - "narHash": "sha256-StTfshdAoSxO+t0wRbq1I3YESLFIQWFjGJse5ICV8rk=", + "lastModified": 1670593043, + "narHash": "sha256-tsDs6FB+7PlBOt46dMQFBMH5yPY/fduf4cYbQYhauhA=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "af840a9e0947a79a37a95a9f62062653721e43fa", + "rev": "5f7eecff553d82f21e049d79d8fb3f1f46568da0", "type": "github" }, "original": { diff --git a/nixos/hosts/thalassa/aoife/configuration.nix b/nixos/hosts/thalassa/aoife/configuration.nix index fc3fcc3..200b2c6 100644 --- a/nixos/hosts/thalassa/aoife/configuration.nix +++ b/nixos/hosts/thalassa/aoife/configuration.nix @@ -162,6 +162,12 @@ powertop.enable = true; }; + programs.steam = { + enable = true; + # Open ports in the firewall for Steam Remote Play + remotePlay.openFirewall = true; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/nixos/hosts/thalassa/aoife/home/dconf.nix b/nixos/hosts/thalassa/aoife/home/dconf.nix index e0c3571..b721ab7 100644 --- a/nixos/hosts/thalassa/aoife/home/dconf.nix +++ b/nixos/hosts/thalassa/aoife/home/dconf.nix @@ -1,9 +1,21 @@ -# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix { lib, ... }: with lib.hm.gvariant; - -{ +let + inherit (builtins) attrNames map; + inherit (lib.attrsets) mapAttrs' nameValuePair; + generate_custom_keybindings = binds: + { + "org/gnome/settings-daemon/plugins/media-keys" = { + custom-keybindings = map (name: + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}/") + (attrNames binds); + }; + } // mapAttrs' (name: + nameValuePair + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/${name}") + binds; +in { dconf.settings = { "org/gnome/desktop/input-sources" = { sources = [ (mkTuple [ "xkb" "us+altgr-intl" ]) ]; @@ -58,20 +70,14 @@ with lib.hm.gvariant; toggle-maximized = [ "m" ]; }; - "org/gnome/settings-daemon/plugins/media-keys" = { - custom-keybindings = [ - "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" - ]; - }; - - "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = - { - binding = "Return"; - command = "kgx"; - name = "Open Terminal"; - }; - "org/gnome/tweaks" = { show-extensions-notice = false; }; + "org/gnome/boxes" = { first-run = false; }; + } // generate_custom_keybindings { + "terminal" = { + binding = "Return"; + command = "kgx"; + name = "Open Terminal"; + }; }; } diff --git a/nixos/hosts/thalassa/aoife/home/neovim.nix b/nixos/hosts/thalassa/aoife/home/neovim.nix index ede1d8c..d766096 100644 --- a/nixos/hosts/thalassa/aoife/home/neovim.nix +++ b/nixos/hosts/thalassa/aoife/home/neovim.nix @@ -18,6 +18,7 @@ colorscheme = "catppuccin-frappe"; plugins = { + barbar.enable = true; nix.enable = true; treesitter = { enable = true;