[hyprland] style: various style improvements

This commit is contained in:
Simon Cornet 2024-06-04 13:31:49 +02:00
parent b31e1ddc43
commit 16f1634592
8 changed files with 30 additions and 36 deletions

View File

@ -1,17 +1,19 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
# x11 # x11
services.xserver.enable = true;
services.xserver = { services.xserver = {
enable = true;
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
}; };
# xdg portals # xdg portals
xdg.portal.enable = true; xdg.portal {
xdg.portal.extraPortals = with pkgs; [ enable = true;
xdg-desktop-portal-wlr extraPortals = with pkgs; [
]; xdg-desktop-portal-wlr
];
};
# gnome # gnome
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;

View File

@ -1,15 +1,15 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
# hardware # hardware
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
# hardware logitech # hardware logitech
hardware.logitech.wireless.enable = true; hardware.logitech.wireless.enable = true;
hardware.logitech.wireless.enableGraphical = true; hardware.logitech.wireless.enableGraphical = true;
# enable bluetooth # enable bluetooth
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;
# power management # power management

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
# networking # networking
networking.firewall.enable = false;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.firewall.enable = false;
} }

View File

@ -4,11 +4,9 @@
nix = { nix = {
# garbage collection # garbage collection
gc = { gc.automatic = true;
automatic = true; gc.dates = "weekly";
dates = "weekly"; gc.options = "--delete-older-than 7d";
options = "--delete-older-than 7d";
};
# nix package with flakes # nix package with flakes
package = pkgs.nixFlakes; package = pkgs.nixFlakes;

View File

@ -7,8 +7,12 @@
users.users.simon = { users.users.simon = {
isNormalUser = true; isNormalUser = true;
description = "Simon Cornet"; description = "Simon Cornet";
extraGroups = [ "libvirtd" "networkmanager" "wheel" ];
initialPassword = "changeme"; initialPassword = "changeme";
shell = pkgs.zsh; shell = pkgs.zsh;
extraGroups = [
"libvirtd"
"networkmanager"
"wheel"
];
}; };
} }

View File

@ -1,24 +1,15 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
# enable sound # enable sound
sound = { sound.enable = true;
enable = true;
};
# disable pulseaudio # disable pulseaudio
hardware = { hardware.pulseaudio.enable = false;
pulseaudio = {
enable = false;
};
};
# enable pipewire # enable pipewire
services.pipewire = { services.pipewire.enable = true;
enable = true; services.pipewire.pulse.enable = true;
pulse.enable = true; services.pipewire.alsa.enable = true;
alsa = { services.pipewire.alsa.support32Bit = true;
enable = true;
support32Bit = true;
};
};
} }

View File

@ -1,7 +1,6 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
# steam # steam
programs.steam = { programs.steam.enable = true;
enable = true;
};
} }

View File

@ -13,8 +13,8 @@
# podman # podman
podman = { podman = {
enable = true; enable = true;
dockerCompat = true; dockerCompat = true;
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
}; };