install xdph
This commit is contained in:
parent
fddf319df9
commit
2e1cd6a3c4
5 changed files with 14 additions and 10 deletions
|
|
@ -12,12 +12,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, hyprland, ... }:
|
outputs = { nixpkgs, home-manager, hyprland, ... } @inputs :
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs {
|
|
||||||
inherit system;
|
|
||||||
};
|
|
||||||
lib = nixpkgs.lib;
|
lib = nixpkgs.lib;
|
||||||
mkConf = import ./lib/mkconf.nix;
|
mkConf = import ./lib/mkconf.nix;
|
||||||
|
|
||||||
|
|
@ -27,10 +24,10 @@
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
zenix = mkConf "zenix" {
|
zenix = mkConf "zenix" {
|
||||||
inherit pkgs nixpkgs system user userName home-manager hyprland;
|
inherit inputs nixpkgs system user userName home-manager hyprland;
|
||||||
};
|
};
|
||||||
FCS-Tristan-Nixbook = mkConf "work" {
|
FCS-Tristan-Nixbook = mkConf "work" {
|
||||||
inherit pkgs nixpkgs system user userName home-manager hyprland;
|
inherit inputs nixpkgs system user userName home-manager hyprland;
|
||||||
work = true;
|
work = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -81,9 +81,6 @@ user: { config, pkgs, ... }:
|
||||||
|
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# services.flatpak.enable = true;
|
|
||||||
xdg.portal.enable = true;
|
|
||||||
|
|
||||||
users.users.${user} = {
|
users.users.${user} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "video" "networkmanager" ];
|
extraGroups = [ "wheel" "video" "networkmanager" ];
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
name:
|
name:
|
||||||
{ nixpkgs
|
{ nixpkgs
|
||||||
|
, inputs
|
||||||
, home-manager
|
, home-manager
|
||||||
, system
|
, system
|
||||||
, user
|
, user
|
||||||
|
|
@ -11,10 +12,18 @@ name:
|
||||||
}:
|
}:
|
||||||
|
|
||||||
nixpkgs.lib.nixosSystem rec {
|
nixpkgs.lib.nixosSystem rec {
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
|
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
|
||||||
|
({inputs, pkgs, ...}: {
|
||||||
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
|
};
|
||||||
|
})
|
||||||
{
|
{
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
substituters = [ "https://hyprland.cachix.org" ];
|
substituters = [ "https://hyprland.cachix.org" ];
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,8 @@ in
|
||||||
bind = SUPER, space, layoutmsg,swapwithmaster master
|
bind = SUPER, space, layoutmsg,swapwithmaster master
|
||||||
bind = SUPER, F, fullscreen,
|
bind = SUPER, F, fullscreen,
|
||||||
bind = SUPER, V, togglefloating,
|
bind = SUPER, V, togglefloating,
|
||||||
|
bind = SUPER, W, layoutmsg, orientationprev
|
||||||
|
bind = SUPER_SHIFT, W, layoutmsg, orientationnext
|
||||||
bind = SUPER_SHIFT, V, togglegroup,
|
bind = SUPER_SHIFT, V, togglegroup,
|
||||||
bind = SUPER_SHIFT, h, changegroupactive,b
|
bind = SUPER_SHIFT, h, changegroupactive,b
|
||||||
bind = SUPER_SHIFT, h, moveintogroup,l
|
bind = SUPER_SHIFT, h, moveintogroup,l
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,6 @@ in
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
hotkeys = [
|
hotkeys = [
|
||||||
{ key = "W"; }
|
|
||||||
{ modifier = ""; key = "XF86AudioPlay"; }
|
{ modifier = ""; key = "XF86AudioPlay"; }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue