2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-22 04:07:28 +01:00

sisko: Install and configure desktop apps, hyprland, etc.

This commit is contained in:
Felix Albrigtsen 2024-12-03 22:44:25 +01:00
parent fab563fa2d
commit c1417cf36d
5 changed files with 78 additions and 30 deletions

View File

@ -1,10 +0,0 @@
{ config, pkgs, lib, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
environment.systemPackages = with pkgs; [
];
}

View File

@ -7,7 +7,6 @@
../../common/metrics-exporters.nix
./hardware-configuration.nix
./desktop.nix
./applications.nix
];
networking = {
@ -22,14 +21,19 @@
};
hardware.bluetooth.enable = true;
sops.defaultSopsFile = ../../secrets/sisko/sisko.yaml;
environment.variables = { EDITOR = "vim"; };
programs.gamemode.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
nixpkgs.config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"copilot.vim"
"discord"
"steam"
"steam-unwrapped"
"tlclient"

View File

@ -5,16 +5,13 @@
enable = true;
enable32Bit = true;
};
# services.displayManager.ly.enable = true;
services.displayManager.ly.enable = true;
services.xserver.enable = true;
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Audio
services.pipewire = {
@ -50,9 +47,26 @@
services.gnome.gnome-keyring.enable = true;
# Dark mode
home-manager.users.felixalb = {
services = {
dunst.enable = true;
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
};
};
qt = {
enable = true;
platformTheme = "gnome";
style = "adwaita-dark";
};
}

View File

@ -10,6 +10,11 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.kernel.sysctl = {
"vm.max_map_count" = 16777216;
# "fs.file-max" = 524288;
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/60a70caf-ca37-488d-8c2a-98a7e9b67d84";
fsType = "btrfs";

View File

@ -7,26 +7,47 @@
];
home.packages = with pkgs; [
# GUI Applications
chromium
discord
element-desktop
jellyfin-media-player
kitty
libreoffice
mpv
mumble
pavucontrol
prismlauncher
# Window Manager Extras
bibata-cursors
hyprcursor
hypridle
hyprlock
hyprpaper
hyprshot
nautilus
networkmanager
rofi-rbw-wayland
swaynotificationcenter
waybar
# Misc tools
bc
catimg
chromium
dante
dig
element-desktop
hunspellDicts.en_US
hunspellDicts.nb_NO
jq
libreoffice
mpv
nixpkgs-2211.remmina
openssl
playerctl
pwgen
tlclient
traceroute
virt-manager
w3m
(python311.withPackages (ps: with ps; [
(python312.withPackages (ps: with ps; [
numpy
pycryptodome
requests
@ -38,8 +59,12 @@
enable = true;
package = pkgs.aerc;
};
alacritty.enable = true;
alacritty = {
enable = true;
settings.window.opacity = 0.92;
};
firefox.enable = true;
neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ];
rbw = {
enable = true;
settings = {
@ -51,13 +76,23 @@
rofi = {
enable = true;
theme = "iggy";
package = pkgs.rofi-wayland;
};
zsh = {
shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config";
prezto.pmodules = [ "ssh" ];
};
};
neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ];
home.pointerCursor = {
name = "Bibata-Modern-Ice";
package = pkgs.bibata-cursors;
size = 24;
gtk.enable = true;
x11 = {
enable = true;
defaultCursor = true;
};
};
xdg.mimeApps = {