refactor: small changes
This commit is contained in:
parent
1b9a2a7f85
commit
b4648912f5
3 changed files with 11 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@
|
||||||
*node_modules/
|
*node_modules/
|
||||||
*package-lock.json
|
*package-lock.json
|
||||||
**/ags/style.css
|
**/ags/style.css
|
||||||
|
result*
|
||||||
|
|
|
@ -56,9 +56,14 @@
|
||||||
};
|
};
|
||||||
environment.variables.FLAKE = "/home/matt/.nix";
|
environment.variables.FLAKE = "/home/matt/.nix";
|
||||||
|
|
||||||
services.xserver = {
|
services = {
|
||||||
layout = "ca";
|
fwupd.enable = true;
|
||||||
xkbVariant = "multix";
|
|
||||||
|
xserver = {
|
||||||
|
layout = "ca";
|
||||||
|
xkbVariant = "multix";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users = let
|
home-manager.users = let
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
symlink = config.lib.file.mkOutOfStoreSymlink;
|
symlink = config.lib.file.mkOutOfStoreSymlink;
|
||||||
optionals = lib.lists.optionals;
|
optionals = lib.lists.optionals;
|
||||||
isNvidia = osConfig.hardware.nvidia.modesetting.enable;
|
isNvidia = osConfig.hardware.nvidia.modesetting.enable;
|
||||||
|
isTouchscreen = osConfig.hardware.sensor.iio.enable;
|
||||||
|
|
||||||
gset = pkgs.gsettings-desktop-schemas;
|
gset = pkgs.gsettings-desktop-schemas;
|
||||||
polkit = pkgs.plasma5Packages.polkit-kde-agent;
|
polkit = pkgs.plasma5Packages.polkit-kde-agent;
|
||||||
|
@ -31,7 +32,7 @@ in {
|
||||||
|
|
||||||
plugins =
|
plugins =
|
||||||
[]
|
[]
|
||||||
++ (optionals (osConfig.hardware.sensor.iio.enable) [
|
++ (optionals (isTouchscreen) [
|
||||||
hyprgrass.packages.${pkgs.system}.default
|
hyprgrass.packages.${pkgs.system}.default
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue