switch back to explicit sync?

This commit is contained in:
Remy Moll 2025-01-13 11:02:57 +01:00
parent 076c892b4f
commit bbfec6ea9a
7 changed files with 54 additions and 59 deletions

16
flake.lock generated
View File

@ -7,16 +7,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720042825, "lastModified": 1736373539,
"narHash": "sha256-A0vrUB6x82/jvf17qPCpxaM+ulJnD8YZwH9Ci0BsAzE=", "narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e1391fb22e18a36f57e6999c7a9f966dc80ac073", "rev": "bd65bc3cde04c16755955630b344bc9e35272c56",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.05", "ref": "release-24.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -39,16 +39,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1725001927, "lastModified": 1736549401,
"narHash": "sha256-eV+63gK0Mp7ygCR0Oy4yIYSNcum2VQwnZamHxYTNi+M=", "narHash": "sha256-ibkQrMHxF/7TqAYcQE+tOnIsSEzXmMegzyBWza6uHKM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6e99f2a27d600612004fbd2c3282d614bfee6421", "rev": "1dab772dd4a68a7bba5d9460685547ff8e17d899",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-24.05", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -2,10 +2,10 @@
description = "Nix config entry point"; description = "Nix config entry point";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
# Home manager # Home manager
home-manager.url = "github:nix-community/home-manager/release-24.05"; home-manager.url = "github:nix-community/home-manager/release-24.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Managing flatpak apps # Managing flatpak apps
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";

View File

@ -10,11 +10,11 @@ with lib.hm.gvariant;
} }
{ {
id = "tilingshell@ferrarodomenico.com"; id = "tilingshell@ferrarodomenico.com";
package = pkgs.gnome.gnome-shell-extensions; package = pkgs.gnome-shell-extensions;
} }
{ {
id = "search-light@icedman.github.com"; id = "search-light@icedman.github.com";
package = pkgs.gnome.gnome-shell-extensions; package = pkgs.gnome-shell-extensions;
} }
{ {
package = pkgs.gnomeExtensions.window-gestures; package = pkgs.gnomeExtensions.window-gestures;

View File

@ -1,6 +1,7 @@
{pkgs, ...}: {pkgs, ...}:
{ {
home.packages = [ home.packages = [
pkgs.rquickshare pkgs.owncloud-client
]; ];
} }

View File

@ -17,29 +17,29 @@
environment.gnome.excludePackages = (with pkgs; [ environment.gnome.excludePackages = (with pkgs; [
gnome-photos gnome-photos
gnome-tour gnome-tour
gnome.geary geary
gedit gedit
gnome.tali tali
gnome.gnome-music gnome-music
gnome.cheese cheese
epiphany epiphany
gnome.gnome-calendar gnome-calendar
gnome.gnome-maps gnome-maps
gnome.simple-scan simple-scan
gnome.yelp yelp
gnome.gnome-disk-utility gnome-disk-utility
gnome.gnome-notes gnome-notes
gnome.gnome-weather gnome-weather
gnome-secrets gnome-secrets
gnome.gnome-characters gnome-characters
gnome.gnome-font-viewer gnome-font-viewer
gnome.gnome-system-monitor gnome-system-monitor
gnome-text-editor gnome-text-editor
gnome-connections gnome-connections
gnome.gnome-clocks gnome-clocks
baobab baobab
gnome.gnome-contacts gnome-contacts
gnome.gnome-logs gnome-logs
]); ]);
} }

View File

@ -7,23 +7,15 @@
{ {
# Enable OpenGL # Enable OpenGL
hardware.opengl = { hardware.graphics = {
enable = true; enable = true;
}; };
# Load nvidia driver for Xorg and Wayland # Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
# specify nvidia driver version
hardware.nvidia = { hardware.nvidia = {
# manually specify the driver version
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "555.58.02";
sha256_64bit = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
sha256_aarch64 = "sha256-8hyRiGB+m2hL3c9MDA/Pon+Xl6E788MZ50WrrAGUVuY=";
openSha256 = "sha256-8hyRiGB+m2hL3c9MDA/Pon+Xl6E788MZ50WrrAGUVuY=";
settingsSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8=";
persistencedSha256 = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
};
# Modesetting is required. # Modesetting is required.
modesetting.enable = true; modesetting.enable = true;
@ -38,27 +30,30 @@
# Experimental and only works on modern Nvidia GPUs (Turing or newer). # Experimental and only works on modern Nvidia GPUs (Turing or newer).
powerManagement.finegrained = false; powerManagement.finegrained = false;
# the open source drivers are not compatible with the old 1050ti
open = false; open = false;
# Enable the Nvidia settings menu, # Enable the Nvidia settings menu,
# accessible via `nvidia-settings`. # accessible via `nvidia-settings`.
nvidiaSettings = true; nvidiaSettings = true;
# Optionally, you may need to select the appropriate driver version for your specific GPU.
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "565.77"; # latest
sha256_64bit = "sha256-CnqnQsRrzzTXZpgkAtF7PbH9s7wbiTRNcM0SPByzFHw=";
sha256_aarch64 = "sha256-LSAYUnhfnK3rcuPe1dixOwAujSof19kNOfdRHE7bToE=";
openSha256 = "sha256-Fxo0t61KQDs71YA8u7arY+503wkAc1foaa51vi2Pl5I=";
settingsSha256 = "sha256-VUetj3LlOSz/LB+DDfMCN34uA4bNTTpjDrb6C6Iwukk=";
persistencedSha256 = "sha256-wnDjC099D8d9NJSp9D0CbsL+vfHXyJFYYgU3CwcqKww=";
}; };
## See https://nixos.wiki/wiki/Nvidia prime = {
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
## Reverse PRIME synchronization
# reverseSync.enable = true;
# # Enable if using an external GPU
# allowExternalGpu = false;
## Alternatively enable offloading
offload = { offload = {
enable = true; enable = true;
enableOffloadCmd = true; enableOffloadCmd = true;
}; };
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}; };
} }

View File

@ -9,9 +9,8 @@ with lib.hm.gvariant;
../modules/home-manager/gnome-shell-customization.nix ../modules/home-manager/gnome-shell-customization.nix
../modules/home-manager/keepassxc.nix ../modules/home-manager/keepassxc.nix
../modules/home-manager/obsidian.nix ../modules/home-manager/obsidian.nix
../modules/home-manager/owncloud-client.nix
../modules/home-manager/thunderbird.nix ../modules/home-manager/thunderbird.nix
../modules/home-manager/quickshare.nix
]; ];
## Home Manager configuration ## Home Manager configuration