wlogout and swaylock. Moved starship to home-manager and styled with catppuccin. Changed some font colours for better contrast. Transparency on terminals. swww for animated wallpapers. Starter template for creating new files. Styled waybar from catppuccin template, changed some icons.

This commit is contained in:
2024-12-28 20:25:37 +01:00
parent a9ad4efed3
commit 8e91b0ca78
17 changed files with 402 additions and 69 deletions

View File

@ -13,6 +13,7 @@
./hardware-configuration.nix
./terminal
./hyprland
./audio.nix
];
# Bootloader.
@ -64,8 +65,14 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
environment.variables = {
EDITOR = "nvim";
environment = {
variables = {
EDITOR = "nvim";
};
sessionVariables = {
# Tells Electron apps to use Wayland
NIXOS_OZONE_WL = "1";
};
};
# List packages installed in system profile. To search, run:
@ -76,9 +83,6 @@
git
kitty
swaynotificationcenter
pipewire
wireplumber
playerctl # Interaction with audio players and browsers
xdg-utils
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
@ -135,9 +139,6 @@
enable = true;
};
# Required for nvim with flakes
# nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
@ -151,7 +152,11 @@
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
security.rtkit.enable = true;
security = {
# Adds Swaylock to /etc/pam.d
pam.services.swaylock = { };
rtkit.enable = true;
};
services = {
displayManager.sddm = {
@ -167,15 +172,6 @@
pcscd.enable = true;
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
tailscale = {
enable = true;
};
@ -192,11 +188,17 @@
};
};
stylix = {
stylix = {
enable = true;
image = ./catppuccin.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
polarity = "dark";
opacity.terminal = 0.8;
override = {
base02 = "b0b0b0"; # Comments in shell
base03 = "b0b0b0"; # Comments in nvim
base04 = "b0b0b0"; # Secondary text in shell
};
};
virtualisation.docker = {