mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 14:31:54 -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
|
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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
@ -47,7 +46,7 @@
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPackages = [ pkgs.xdg-desktop-portal-wlr];
|
configPackages = [ pkgs.xdg-desktop-portal-wlr ];
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
|
|
||||||
systemConfig = {
|
systemConfig = {
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
zramSwap = {
|
zramSwap = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopConfig = {
|
desktopConfig = {
|
||||||
|
|
|
@ -82,9 +82,7 @@ in {
|
||||||
|
|
||||||
systemConfig = {
|
systemConfig = {
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
zramSwap = {
|
zramSwap = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue