update hyprland usage

This commit is contained in:
2025-04-21 21:32:17 +08:00
parent 90126edab0
commit ac9d778c53
7 changed files with 22 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
{ inputs, outputs, lib, pkgs, config, self, username, useremail, hostname, sysversion, ... }:
let
inherit (inputs) home-manager hyprland;
inherit (inputs) home-manager;
in
{
# You can import other NixOS modules here
@@ -27,7 +27,7 @@ in
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs outputs hostname username useremail hyprland sysversion;
inherit inputs outputs hostname username useremail sysversion;
};
home-manager.users."${username}" = { ... }: {
imports = [

View File

@@ -1,6 +1,6 @@
{ inputs, outputs, lib, pkgs, config, self, username, useremail, hostname, sysversion, ... }:
let
inherit (inputs) home-manager hyprland nixpkgs-unstable;
inherit (inputs) home-manager nixpkgs-unstable;
in
{
# You can import other NixOS modules here
@@ -37,7 +37,7 @@ in
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs outputs hostname username useremail hyprland sysversion;
inherit inputs outputs hostname username useremail sysversion;
# enable unstable packages
nixpkgs = nixpkgs-unstable;

View File

@@ -1,6 +1,6 @@
{ inputs, outputs, lib, pkgs, config, self, username, useremail, hostname, sysversion, ... }:
let
inherit (inputs) home-manager hyprland;
inherit (inputs) home-manager;
in
{
# You can import other NixOS modules here
@@ -27,7 +27,7 @@ in
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs outputs hostname username useremail hyprland sysversion;
inherit inputs outputs hostname username useremail sysversion;
};
home-manager.users."${username}" = { ... }: {
imports = [