feat: moved from sway to niri

This commit is contained in:
chloe 2025-04-21 11:43:58 +02:00
parent 338e12ad7d
commit 4789d2e5d7
17 changed files with 315 additions and 513 deletions

View file

@ -14,8 +14,8 @@
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
../../features/client/tailscale.nix
../../features/client/sway.nix
../../shared/client/tailscale.nix
../../shared/client/niri.nix
./features/default.nix
];
@ -81,9 +81,11 @@
"wheel"
"audio"
"video"
]; # Enable sudo for the user.
"networkmanager"
];
packages = with pkgs; [
firefox
inputs.zen-browser.packages."${system}".default
tailscale
mpv
logisim-evolution

View file

@ -1,8 +1,13 @@
{config, pkgs, ...}:
{ config, pkgs, ... }:
{
boot.blacklistedKernelModules = [ "nouveau" ];
hardware.graphics.enable = true;
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [ nvidia-vaapi-driver ];
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = false;
hardware.nvidia = {
open = false;
};
}

View file

@ -1,12 +1,12 @@
{config, ...}: {
{ config, ... }:
{
services.flatpak.enable = true;
services.flatpak.packages = [
"io.github.zen_browser.zen"
"com.unicornsonlsd.finamp"
];
services.flatpak.update.onActivation = true;
services.flatpak.update.onActivation = true;
services.flatpak.update.auto = {
enable = true;
onCalendar = "weekly"; # Default value

View file

@ -6,7 +6,6 @@
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"reaper"
"davinci-resolve"
];
environment.systemPackages = with pkgs; [
@ -39,5 +38,7 @@
xfce.thunar
eclipses.eclipse-java # school wants us to use it...
nil
jetbrains.idea-ultimate
];
}