Merge branch 'flake-parts' into 'master'

Module-based ricing

See merge request bertof/nix-dotfiles!1
This commit is contained in:
Filippo Berto 2024-10-22 16:50:48 +00:00
commit 4d65b238a4
52 changed files with 848 additions and 1277 deletions

View file

@ -300,7 +300,6 @@ in
services.home-assistant = {
enable = true;
openFirewall = true;
# package = pkgs.unstable_pkgs.home-assistant;
config = {
default_config = { };

View file

@ -5,24 +5,19 @@
, ...
}:
{
boot.initrd.kernelModules = [ "i915" ];
boot = {
initrd.kernelModules = [ "i915" ];
kernelPackages = pkgs.unstable_pkgs.linuxPackages;
};
hardware.nvidia =
{
# modesetting.enable = true;
# package = pkgs.linuxPackages.nvidia_x11;
open = false;
prime = {
offload.enable = false;
sync.enable = true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
hardware.nvidia = {
# modesetting.enable = true;
# package = pkgs.linuxPackages.nvidia_x11;
open = false;
prime = {
offload.enable = false;
sync.enable = true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
programs.gamemode = {
enable = true;

View file

@ -56,9 +56,6 @@
wireguard-tools
xournalpp
zoom-us
;
inherit (pkgs.unstable_pkgs)
# heroic
proton-pass;
};
};
@ -100,7 +97,6 @@
../../modules/hm/biblio.nix
# ../../modules/hm/bitwarden.nix
# ../../modules/hm/blender.nix
# ../../modules/hm/bspwm.nix
../../modules/hm/cava.nix
# ../../modules/hm/dwarf-fortress.nix
../../modules/hm/easyeffects.nix
@ -142,7 +138,7 @@
../../modules/hm/syncthing.nix
# ../../modules/hm/thunar.nix
# ../../modules/hm/twmn.nix
../../modules/hm/update_background.nix
# ../../modules/hm/update_background.nix
../../modules/hm/vim.nix
../../modules/hm/virtualization.nix
../../modules/hm/webapp.nix

View file

@ -61,7 +61,7 @@
xournalpp
zoom-us
;
inherit (pkgs.unstable_pkgs) heroic;
inherit (pkgs) heroic;
};
};
@ -91,7 +91,6 @@
../../modules/hm/biblio.nix
# ../../modules/hm/bitwarden.nix
../../modules/hm/blender_nvidia.nix
# ../../modules/hm/bspwm.nix
../../modules/hm/cava.nix
# ../../modules/hm/dwarf-fortress.nix
../../modules/hm/easyeffects.nix
@ -130,15 +129,13 @@
# ../../modules/hm/screen_locker.nix
# ../../modules/hm/security.nix
# ../../modules/hm/spotifyd.nix
../../modules/hm/sxhkd.nix
../../modules/hm/syncthing.nix
# ../../modules/hm/thunar.nix
# ../../modules/hm/twmn.nix
../../modules/hm/update_background.nix
# ../../modules/hm/update_background.nix
../../modules/hm/vim.nix
../../modules/hm/virtualization.nix
../../modules/hm/webapp.nix
../../modules/hm/wl_update_background.nix
../../modules/hm/xresources.nix
../../modules/hm/zathura.nix
../../modules/hm/yazi.nix