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 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 = homeConfigurations.aly =
home-manager-unstable.lib.homeManagerConfiguration { home-manager-unstable.lib.homeManagerConfiguration {

View file

@ -1,6 +1,8 @@
{ pkgs, lib, config, ... }: { { 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 { config = lib.mkIf config.cliApps.neofetch.enable {

View file

@ -30,6 +30,7 @@ in {
# Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
home.packages = with pkgs; [ hyprpaper-random ]; 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, ... }: { { pkgs, lib, config, ... }: {
options = { options = {
desktopEnv.sway.enable = desktopEnv.sway.enable = lib.mkEnableOption "Sway with extra apps.";
lib.mkEnableOption "Sway with extra apps.";
}; };
config = lib.mkIf config.desktopEnv.sway.enable { config = lib.mkIf config.desktopEnv.sway.enable {

View file

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

View file

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

View file

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

View file

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

View file

@ -5,7 +5,8 @@
lib.mkEnableOption "Enables dynamic triple buffering for GNOME."; 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 = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {
gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: { gnome = prev.gnome.overrideScope (gnomeFinal: gnomePrev: {

View file

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