mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
feat: moved from sway to niri
This commit is contained in:
parent
338e12ad7d
commit
4789d2e5d7
17 changed files with 315 additions and 513 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue