flake update

This commit is contained in:
Vivian 2022-12-09 16:42:15 +01:00
parent a4294731bc
commit c0b4c724bd
4 changed files with 38 additions and 25 deletions

View file

@ -399,11 +399,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1670534695, "lastModified": 1670598058,
"narHash": "sha256-YNPiXsaZSQvetwsnrHuRxQnm8t9p5y9Nd3lRW6bPVxM=", "narHash": "sha256-zMK3VZWTYKJHCA0bl8Xg0AFX5rnhDR18VCtS28Ur3tY=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "726732244a5d51a0da54219174c13f4428017b79", "rev": "b9812f8bc0f372875af8c332e4537fdbf2b99c23",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -711,11 +711,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1670332253, "lastModified": 1670507980,
"narHash": "sha256-O5SmhlIUt1s+vK4NXeGYqwcBIMwbBPAEZ3GHE3XT28c=", "narHash": "sha256-riNZa0xzM1it3pzxciwALeMs+0CsBMWIW2FqulzK8vM=",
"owner": "NULLx76", "owner": "NULLx76",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1c9ffcf70786f0966982ce0fc76ec05df2e1dec2", "rev": "2787fc7d1e51404678614bf0fe92fc296746eec0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1135,11 +1135,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1670202338, "lastModified": 1670593043,
"narHash": "sha256-StTfshdAoSxO+t0wRbq1I3YESLFIQWFjGJse5ICV8rk=", "narHash": "sha256-tsDs6FB+7PlBOt46dMQFBMH5yPY/fduf4cYbQYhauhA=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "af840a9e0947a79a37a95a9f62062653721e43fa", "rev": "5f7eecff553d82f21e049d79d8fb3f1f46568da0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -162,6 +162,12 @@
powertop.enable = true; 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 # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave

View file

@ -1,9 +1,21 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, ... }: { lib, ... }:
with lib.hm.gvariant; 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 = { dconf.settings = {
"org/gnome/desktop/input-sources" = { "org/gnome/desktop/input-sources" = {
sources = [ (mkTuple [ "xkb" "us+altgr-intl" ]) ]; sources = [ (mkTuple [ "xkb" "us+altgr-intl" ]) ];
@ -58,20 +70,14 @@ with lib.hm.gvariant;
toggle-maximized = [ "<Super>m" ]; toggle-maximized = [ "<Super>m" ];
}; };
"org/gnome/settings-daemon/plugins/media-keys" = { "org/gnome/tweaks" = { show-extensions-notice = false; };
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = "org/gnome/boxes" = { first-run = false; };
{ } // generate_custom_keybindings {
"terminal" = {
binding = "<Super>Return"; binding = "<Super>Return";
command = "kgx"; command = "kgx";
name = "Open Terminal"; name = "Open Terminal";
}; };
"org/gnome/tweaks" = { show-extensions-notice = false; };
"org/gnome/boxes" = { first-run = false; };
}; };
} }

View file

@ -18,6 +18,7 @@
colorscheme = "catppuccin-frappe"; colorscheme = "catppuccin-frappe";
plugins = { plugins = {
barbar.enable = true;
nix.enable = true; nix.enable = true;
treesitter = { treesitter = {
enable = true; enable = true;