chore: added godot aesprite

This commit is contained in:
Elias Renman
2023-12-28 00:34:30 +01:00
parent 9c5641e1a6
commit 55ff07d152
2 changed files with 41 additions and 21 deletions

View File

@@ -16,6 +16,17 @@
boot.loader.grub.device = "/dev/sda"; boot.loader.grub.device = "/dev/sda";
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
# Plymouth for graphical bootscreen
boot.plymouth.enable = true;
boot.initrd.systemd.enable = true;
boot.kernelParams = [ "quiet" ];
boot.plymouth.extraConfig = ''
DeviceScale=2
'';
boot.plymouth.themePackages = with pkgs; [
(adi1090x-plymouth-themes.override { selected_themes = [ "colorful_loop" ]; })
];
boot.plymouth.theme = "colorful_loop";
# bluetooth support # bluetooth support
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; hardware.bluetooth.powerOnBoot = true;
@@ -60,7 +71,7 @@
}; };
fonts.fontDir.enable = true; fonts.fontDir.enable = true;
fonts.fonts = with pkgs; [ fonts.packages = with pkgs; [
nerdfonts nerdfonts
]; ];
@@ -92,16 +103,18 @@
services.xserver.enable = true; services.xserver.enable = true;
# services.xserver.xkbOptions = "eurosign:e"; # services.xserver.xkbOptions = "eurosign:e";
services.xserver.displayManager.sddm.enable = true; services.xserver.displayManager.sddm = {
enable = true;
theme = "chili";
};
services.xserver.libinput.enable = true; services.xserver.libinput.enable = true;
services.xserver.layout = "se"; services.xserver.layout = "se";
services.xserver.xkbVariant = "mac"; services.xserver.xkbVariant = "mac";
# Enable the Hyprland Desktop Environment. # Enable the Hyprland Desktop Environment.
programs.hyprland.enable = true; programs.hyprland.enable = true;
# programs.hyprland.enableNvidiaPatches = true; # programs.hyprland.enableNvidiaPatches = true;
programs.hyprland.xwayland.enable = true; programs.hyprland.xwayland.enable = true;
programs.hyprland.xwayland.hidpi = true;
# Don't forget to set a password with passwd. # Don't forget to set a password with passwd.
users.users.elias = { users.users.elias = {
isNormalUser = true; isNormalUser = true;
@@ -116,17 +129,7 @@
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you # servers. You should change this only after NixOS release notes say you
# should. # should.
system.stateVersion = "18.09"; system.stateVersion = "18.09";
environment.etc."xdg/gtk-2.0/gtkrc".text = ''
gtk-theme-name = "gtk-tokyo-night"
'';
environment.etc."xdg/gtk-3.0/settings.ini".text = ''
[Settings]
gtk-theme-name = gtk-tokyo-night
gtk-application-prefer-dark-theme=1
'';
nixpkgs.overlays = [ nixpkgs.overlays = [
(self: super: { (self: super: {
waybar = super.waybar.overrideAttrs (oldAttrs: { waybar = super.waybar.overrideAttrs (oldAttrs: {
@@ -134,4 +137,14 @@
}); });
}) })
]; ];
services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed
HandlePowerKey=ignore
'';
environment.sessionVariables.NIXOS_OZONE_WL = "1";
#Spotify ports for google chromecasts and mobile phones
networking.firewall.allowedTCPPorts = [ 57621 ];
networking.firewall.allowedUDPPorts = [ 5353 ];
} }

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, fetchurl, ... }:
{ {
# Allow proprietary packages # Allow proprietary packages
@@ -31,28 +31,33 @@
clang-tools clang-tools
rustup rustup
python38 python3
nodejs_20 nodejs_20
# GUI tools # GUI tools
kicad-small kicad-small
xfce.thunar xfce.thunar
google-chrome firefox
alacritty alacritty
vlc vlc
pavucontrol pavucontrol
discord discord
spotify
nwg-look
jetbrains-toolbox
aseprite
godot_4
# CLI Tools # CLI Tools
neofetch neofetch
bat bat
exa eza
gh gh
brightnessctl brightnessctl
hyprpaper hyprpaper
# Media # Media
ffmpeg-full ffmpeg-full
playerctl
# IDEs # IDEs
neovim neovim
@@ -65,9 +70,11 @@
glib glib
wlogout wlogout
swaylock-effects swaylock-effects
sddm-chili-theme
# Ricing apps # Ricing apps
spotify-qt
cava cava
plymouth
# Ricing Themes # Ricing Themes
tokyo-night-gtk tokyo-night-gtk
# Desktop # Desktop