[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;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
]; ];
};
# gnome # gnome
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;

View File

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

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;
};
} }