mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-29 19:54:48 +01:00
b918c56ccc
It seems non-trivial to log back into hyprland with hyprlock on the PinePhone so disabling it entirely makes things easier.
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{ nix-config, pkgs, lib, ... }:
|
|
|
|
let
|
|
inherit (lib) singleton mkForce;
|
|
inherit (builtins) attrValues;
|
|
in
|
|
{
|
|
imports = attrValues {
|
|
inherit (nix-config.nixosModules) system shell desktop hardware;
|
|
};
|
|
|
|
nixpkgs.overlays = attrValues nix-config.overlays;
|
|
|
|
home-manager.sharedModules = attrValues nix-config.homeManagerModules ++ singleton {
|
|
services.hypridle.enable = mkForce false;
|
|
|
|
wayland.windowManager.hyprland.settings = mkForce {
|
|
decoration = {
|
|
drop_shadow = false;
|
|
blur.enabled = false;
|
|
};
|
|
|
|
animations.enabled = false;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = attrValues nix-config.packages.${pkgs.system};
|
|
|
|
modules = {
|
|
system = {
|
|
hostName = "mobile-nixos";
|
|
stateVersion = "23.11";
|
|
phone = true;
|
|
};
|
|
|
|
desktop.phone = true;
|
|
hardware.phone = true;
|
|
};
|
|
|
|
environment = {
|
|
sessionVariables = {
|
|
LIBGL_ALWAYS_SOFTWARE = "true";
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
calls.enable = true;
|
|
};
|
|
|
|
networking = {
|
|
wireless.enable = false;
|
|
wireguard.enable = true;
|
|
};
|
|
|
|
services = {
|
|
openssh.enable = true;
|
|
};
|
|
|
|
powerManagement.enable = true;
|
|
}
|