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