Compare commits

...

2 commits

5 changed files with 42 additions and 8 deletions

View file

@ -33,6 +33,13 @@
natural_scroll = true; natural_scroll = true;
}; };
misc.animate_manual_resizes = false; misc.animate_manual_resizes = false;
bindel = [
", XF86AudioRaiseVolume, exec, swayosd-client --output-volume=raise"
", XF86AudioLowerVolume, exec, swayosd-client --output-volume=lower"
", XF86AudioMute, exec, swayosd-client --output-volume=mute-toggle"
", XF86MonBrightnessUp, exec, swayosd-client --brightness=raise"
", XF86MonBrightnessDown, exec, swayosd-client --brightness=lower"
];
}; };
}; };
} }

View file

@ -38,6 +38,21 @@
services.udisks2.enable = true; services.udisks2.enable = true;
services.libinput.enable = true; services.libinput.enable = true;
services.flatpak = {
enable = true;
packages = [ "dev.aunetx.deezer" "im.riot.Riot" ];
update.onActivation = true;
overrides = {
global = {
Context.sockets = [ "wayland" "!x11" "!fallback-x11" ];
Environment = {
XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
GTK_THEME = "Adwaita:dark";
};
};
};
};
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;

View file

@ -280,13 +280,6 @@
", mouse_up, hy3:focustab, r, require_hovered, wrap" ", mouse_up, hy3:focustab, r, require_hovered, wrap"
", mouse_down, hy3:focustab, l, require_hovered, wrap" ", mouse_down, hy3:focustab, l, require_hovered, wrap"
]; ];
bindel = [
", XF86AudioRaiseVolume, exec, swayosd-client --output-volume=raise"
", XF86AudioLowerVolume, exec, swayosd-client --output-volume=lower"
", XF86AudioMute, exec, swayosd-client --output-volume=mute-toggle"
", XF86MonBrightnessUp, exec, swayosd-client --brightness=up"
", XF86MonBrightnessDown, exec, swayosd-client --brightness=lower"
];
}; };
extraConfig = '' extraConfig = ''

View file

@ -21,6 +21,21 @@
"type": "github" "type": "github"
} }
}, },
"nix-flatpak": {
"locked": {
"lastModified": 1721549352,
"narHash": "sha256-nlXJa8RSOX0kykrIYW33ukoHYq+FOSNztHLLgqKwOp8=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "dbce39ea8664820ba9037caaf1e2fad365ed6b4b",
"type": "github"
},
"original": {
"owner": "gmodena",
"repo": "nix-flatpak",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1727348695, "lastModified": 1727348695,
@ -40,6 +55,7 @@
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }

View file

@ -5,12 +5,14 @@
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-flatpak.url = "github:gmodena/nix-flatpak";
}; };
outputs = inputs@{ self, nixpkgs, home-manager, ... }: { outputs = { self, nixpkgs, home-manager, nix-flatpak, ... }: {
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
nix-flatpak.nixosModules.nix-flatpak
./ahrc-pc/configuration.nix ./ahrc-pc/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
@ -24,6 +26,7 @@
nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
nix-flatpak.nixosModules.nix-flatpak
./ahrc-laptop/configuration.nix ./ahrc-laptop/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {