mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 03:33:55 -05:00
reformat with nixfmt (classic)
This commit is contained in:
parent
d1523ffeab
commit
fb9e82f873
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
|
||||
systemConfig = {
|
||||
plymouth.enable = true;
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
};
|
||||
zramSwap = { enable = true; };
|
||||
};
|
||||
|
||||
desktopConfig = {
|
||||
|
|
|
@ -82,9 +82,7 @@ in {
|
|||
|
||||
systemConfig = {
|
||||
plymouth.enable = true;
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
};
|
||||
zramSwap = { enable = true; };
|
||||
};
|
||||
|
||||
apps = {
|
||||
|
|
|
@ -19,9 +19,7 @@
|
|||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/persist" = {
|
||||
neededForBoot = true;
|
||||
};
|
||||
fileSystems."/persist" = { neededForBoot = true; };
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue