reformat with nixfmt (classic)

This commit is contained in:
Aly Raffauf 2024-04-05 16:43:19 -04:00
parent d1523ffeab
commit fb9e82f873
13 changed files with 236 additions and 235 deletions

View file

@ -42,7 +42,8 @@
};
outputs = inputs@{ nixpkgs, nixpkgs-unstable, home-manager
, home-manager-unstable, nixos-hardware, impermanence, disko, disko-unstable, ... }: {
, home-manager-unstable, nixos-hardware, impermanence, disko, disko-unstable
, ... }: {
homeConfigurations.aly =
home-manager-unstable.lib.homeManagerConfiguration {

View file

@ -1,6 +1,8 @@
{ pkgs, lib, config, ... }: {
options = { cliApps.neofetch.enable = lib.mkEnableOption "Enable neofetch."; };
options = {
cliApps.neofetch.enable = lib.mkEnableOption "Enable neofetch.";
};
config = lib.mkIf config.cliApps.neofetch.enable {

View file

@ -30,6 +30,7 @@ in {
# Packages that should be installed to the user profile.
home.packages = with pkgs; [ hyprpaper-random ];
wayland.windowManager.hyprland.extraConfig = "exec-once = ${hyprpaper-random}/bin/hyprpaper-random";
wayland.windowManager.hyprland.extraConfig =
"exec-once = ${hyprpaper-random}/bin/hyprpaper-random";
};
}

View file

@ -1,8 +1,7 @@
{ pkgs, lib, config, ... }: {
options = {
desktopEnv.sway.enable =
lib.mkEnableOption "Sway with extra apps.";
desktopEnv.sway.enable = lib.mkEnableOption "Sway with extra apps.";
};
config = lib.mkIf config.desktopEnv.sway.enable {
@ -47,7 +46,7 @@
xdg.portal = {
enable = true;
configPackages = [ pkgs.xdg-desktop-portal-wlr];
configPackages = [ pkgs.xdg-desktop-portal-wlr ];
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
};

View file

@ -28,9 +28,7 @@
systemConfig = {
plymouth.enable = true;
zramSwap = {
enable = true;
};
zramSwap = { enable = true; };
};
desktopConfig = {

View file

@ -82,9 +82,7 @@ in {
systemConfig = {
plymouth.enable = true;
zramSwap = {
enable = true;
};
zramSwap = { enable = true; };
};
apps = {

View file

@ -19,9 +19,7 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/persist" = {
neededForBoot = true;
};
fileSystems."/persist" = { neededForBoot = true; };
networking.useDHCP = lib.mkDefault true;

View file

@ -1,11 +1,13 @@
{ pkgs, lib, config, ... }: {
options = {
desktopConfig.desktopEnvironments.gnome.fprintdFix.enable = lib.mkEnableOption
desktopConfig.desktopEnvironments.gnome.fprintdFix.enable =
lib.mkEnableOption
"Fixes fprintd and pam issues with GNOME Display Manager.";
};
config = lib.mkIf config.desktopConfig.desktopEnvironments.gnome.fprintdFix.enable {
config =
lib.mkIf config.desktopConfig.desktopEnvironments.gnome.fprintdFix.enable {
# Need to change the order pam loads its modules
# to get proper fingerprint behavior on GDM and the lockscreen.
security.pam.services.login.fprintAuth = false;

View file

@ -5,7 +5,8 @@
lib.mkEnableOption "Enables dynamic triple buffering for GNOME.";
};
config = lib.mkIf config.desktopConfig.desktopEnvironments.gnome.tripleBuffering.enable {
config = lib.mkIf
config.desktopConfig.desktopEnvironments.gnome.tripleBuffering.enable {
nixpkgs.overlays = [
(final: prev: {
gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: {

View file

@ -13,7 +13,8 @@
enable = true;
settings = rec {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
command =
"${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd Hyprland";
};
};
};