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

View File

@ -5,16 +5,13 @@
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
}; };
# services.displayManager.ly.enable = true; services.displayManager.ly.enable = true;
services.xserver.enable = true;
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
withUWSM = true;
xwayland.enable = true; xwayland.enable = true;
}; };
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Audio # Audio
services.pipewire = { services.pipewire = {
@ -50,9 +47,26 @@
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;
# Dark mode
home-manager.users.felixalb = { home-manager.users.felixalb = {
services = { dconf.settings = {
dunst.enable = true; "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.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.kernel.sysctl = {
"vm.max_map_count" = 16777216;
# "fs.file-max" = 524288;
};
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/60a70caf-ca37-488d-8c2a-98a7e9b67d84"; { device = "/dev/disk/by-uuid/60a70caf-ca37-488d-8c2a-98a7e9b67d84";
fsType = "btrfs"; fsType = "btrfs";

View File

@ -7,26 +7,47 @@
]; ];
home.packages = with pkgs; [ 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 bc
catimg catimg
chromium
dante dante
dig dig
element-desktop
hunspellDicts.en_US hunspellDicts.en_US
hunspellDicts.nb_NO hunspellDicts.nb_NO
jq jq
libreoffice
mpv
nixpkgs-2211.remmina nixpkgs-2211.remmina
openssl openssl
playerctl
pwgen pwgen
tlclient
traceroute traceroute
virt-manager
w3m w3m
(python311.withPackages (ps: with ps; [ (python312.withPackages (ps: with ps; [
numpy numpy
pycryptodome pycryptodome
requests requests
@ -38,8 +59,12 @@
enable = true; enable = true;
package = pkgs.aerc; package = pkgs.aerc;
}; };
alacritty.enable = true; alacritty = {
enable = true;
settings.window.opacity = 0.92;
};
firefox.enable = true; firefox.enable = true;
neovim.plugins = with pkgs.vimPlugins; [ copilot-vim ];
rbw = { rbw = {
enable = true; enable = true;
settings = { settings = {
@ -51,13 +76,23 @@
rofi = { rofi = {
enable = true; enable = true;
theme = "iggy"; theme = "iggy";
package = pkgs.rofi-wayland;
}; };
zsh = { zsh = {
shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config"; shellAliases."rebuild" = "sudo nixos-rebuild switch --flake /config";
prezto.pmodules = [ "ssh" ]; 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 = { xdg.mimeApps = {