big module system implementation

This commit is contained in:
cnst
2024-08-17 18:28:42 +02:00
parent 505afa84d0
commit 7525ab34c1
155 changed files with 2402 additions and 2029 deletions

View File

@@ -1,7 +1,12 @@
{inputs, ...}: {
imports = [
inputs.hyprland.nixosModules.default
];
{
inputs,
pkgs,
...
}: {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.default;
portalPackage = inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland;
};
environment.variables.NIXOS_OZONE_WL = "1";
programs.hyprland.enable = true;
}

View File

@@ -2,6 +2,7 @@
imports = [
# shared imports
./dconf
./fuse
./security
./xdg
./zram

View File

@@ -0,0 +1,5 @@
{
programs.fuse = {
userAllowOther = true;
};
}

View File

@@ -13,10 +13,10 @@
mesa
# vulkan
vulkan-tools
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
# vulkan-tools
# vulkan-loader
# vulkan-validation-layers
# vulkan-extension-layer
];
extraPackages32 = with pkgs.pkgsi686Linux; [
vaapiVdpau

View File

@@ -1,6 +1,6 @@
{
security = {
rtkit.enable = true;
pam.services.hyprlock = {};
pam.services.hyprlock.text = "auth include login";
};
}

View File

@@ -1,5 +1,5 @@
{self, ...}: let
path = "${self}/hosts/cnix/xkb/symbols";
{hostConfig, ...}: let
path = "${hostConfig}/cnix/xkb/symbols";
in {
services.xserver = {
enable = true;

View File

@@ -10,7 +10,7 @@
./mullvad
./openssh
./power
./samba
# ./samba
./udisks
];
}