mucho updato

This commit is contained in:
2026-02-19 18:38:18 +01:00
parent 2fb0e31be8
commit 6d39b13483
12 changed files with 70 additions and 8 deletions

View File

@@ -78,7 +78,7 @@
extraConfig = '' extraConfig = ''
unix_sock_group = "qemu-libvirtd" unix_sock_group = "qemu-libvirtd"
''; '';
onBoot = "ignore"; onBoot = "ignore";
}; };
spiceUSBRedirection.enable = true; spiceUSBRedirection.enable = true;

View File

@@ -64,14 +64,12 @@
distrobox distrobox
docker-buildx docker-buildx
docker-compose docker-compose
dog
element-desktop element-desktop
eza eza
ffmpeg-full ffmpeg-full
ffmpegthumbnailer ffmpegthumbnailer
file file
file-roller file-roller
firmware-manager
flat-remix-gnome flat-remix-gnome
flat-remix-gtk flat-remix-gtk
flatpak-xdg-utils flatpak-xdg-utils
@@ -120,6 +118,7 @@
ncdu ncdu
nil nil
nixfmt nixfmt
nixfmt-tree
ntfs3g ntfs3g
nufraw-thumbnailer nufraw-thumbnailer
obsidian obsidian

View File

@@ -13,7 +13,7 @@
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot = { boot = {
initrd = { initrd = {
kernelModules = [ ]; kernelModules = [ ];

View File

@@ -2,7 +2,9 @@
{ {
imports = [ imports = [
./flatpak.nix
./gdm-monitors.nix ./gdm-monitors.nix
./gnome.nix
./packages.nix ./packages.nix
./programs.nix ./programs.nix
./services.nix ./services.nix

View File

@@ -0,0 +1,10 @@
{
config,
pkgs,
lib,
...
}:
{
}

14
desktop/modules/gnome.nix Normal file
View File

@@ -0,0 +1,14 @@
{
config,
pkgs,
lib,
...
}:
{
environment = {
systemPackages = with pkgs.gnomeExtensions; [
control-monitor-brightness-and-volume-with-ddcutil
];
};
}

6
flake.lock generated
View File

@@ -177,11 +177,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1771439456, "lastModified": 1771482645,
"narHash": "sha256-HtQgNJrjYvZdpqpPJddF+TxGCazNyxvA8umbDcjrxT8=", "narHash": "sha256-MpAKyXfJRDTgRU33Hja+G+3h9ywLAJJNRq4Pjbb4dQs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f84d6f6cd5f17d594439710f40349ba7d0706f4b", "rev": "724cf38d99ba81fbb4a347081db93e2e3a9bc2ae",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -36,7 +36,7 @@
"i915.enable_fbc=1" "i915.enable_fbc=1"
"i915.enable_psr=0" "i915.enable_psr=0"
"i915.fastboot=1" "i915.fastboot=1"
"i915.enable_dc=2" "i915.enable_dc=2"
"video=eDP-1:1920x1080@60e" "video=eDP-1:1920x1080@60e"
]; ];
}; };

View File

@@ -3,6 +3,8 @@
{ {
imports = [ imports = [
./attic.nix ./attic.nix
./flatpak.nix
./gnome.nix
./packages.nix ./packages.nix
./programs.nix ./programs.nix
./services.nix ./services.nix

View File

@@ -0,0 +1,10 @@
{
config,
pkgs,
lib,
...
}:
{
}

13
laptop/modules/gnome.nix Normal file
View File

@@ -0,0 +1,13 @@
{
config,
pkgs,
lib,
...
}:
{
environment = {
systemPackages = with pkgs.gnomeExtensions; [
];
};
}

View File

@@ -6,13 +6,25 @@
services.power-profiles-daemon.enable = false; services.power-profiles-daemon.enable = false;
services.tlp = { services.tlp = {
enable = true; enable = true;
pd.enable = true;
settings = { settings = {
TLP_AUTO_SWITCH = 1;
CPU_DRIVER_OPMODE_ON_AC = "active";
CPU_DRIVER_OPMODE_ON_BAT = "active";
CPU_DRIVER_OPMODE_ON_SAV = "active";
CPU_SCALING_GOVERNOR_ON_AC = "performance"; CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave"; CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance"; CPU_ENERGY_PERF_POLICY_ON_AC = "balance_performance";
CPU_MIN_PERF_ON_BAT = 0; CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 80; CPU_MAX_PERF_ON_BAT = 80;
WIFI_PWR_ON_AC = "off";
WIFI_PWR_ON_BAT = "on";
MEM_SLEEP_ON_BAT = "deep";
}; };
}; };
} }