Skip to content

Commit

Permalink
Add numtide cache, maybe fix compositor
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 12, 2024
1 parent 7290771 commit 6fe5bcb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
8 changes: 7 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
description = "A Special Snowflake :3";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";

nixpkgs = {
url = "github:numtide/nixpkgs-unfree";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

nixos-hardware.url = "github:nixos/nixos-hardware";

home-manager = {
Expand Down
5 changes: 4 additions & 1 deletion home-modules/picom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
services.picom = {
enable = true;
package = pkgs.picom-next;
backend = "xrender";
backend = "glx";
vSync = true;
fade = true;
fadeDelta = 5;
Expand All @@ -17,5 +17,8 @@
"window_type *= 'normal' && ! name ~= ''"
"class_g = 'Peek'"
];
fadeExclude = [
"class_g = 'xsecurelock'"
];
};
}
2 changes: 1 addition & 1 deletion hosts/x1/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ in {
tailscale.enable = true;

# fingerprint scanner daemon
# to enrolla finger, use sudo fprintd-enroll $USER
# to enroll a finger, use sudo fprintd-enroll $USER
fprintd.enable = true;
};

Expand Down
2 changes: 2 additions & 0 deletions modules/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
settings = {
substituters = [
"https://cache.vedenemo.dev"
"https://numtide.cachix.org"
];
trusted-public-keys = [
"cache.vedenemo.dev:8NhplARANhClUSWJyLVk4WMyy1Wb4rhmWW2u8AejH9E="
"numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE="
];
trusted-users = [user];
experimental-features = ["nix-command" "flakes"];
Expand Down
1 change: 0 additions & 1 deletion modules/laptop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
Environment = [
"XSECURELOCK_COMPOSITE_OBSCURER=0"
"XSECURELOCK_PASSWORD_PROMPT=asterisks"
"XSECURELOCK_SHOW_HOSTNAME=0"
"XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0"
];
ExecStart = "${pkgs.xss-lock}/bin/xss-lock --session \${XDG_SESSION_ID} -- ${pkgs.xsecurelock}/bin/xsecurelock";
Expand Down
4 changes: 2 additions & 2 deletions overlays/dwm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
src = pkgs.fetchFromGitHub {
owner = "joinemm";
repo = "dwm";
rev = "357fded817f8d734f4ddcc47463532c7256e5371";
sha256 = "sha256-fHmp0YMA1SUqVlyajZKVFuz38Sz6iwsXp2oehnaGbBo=";
rev = "c0b431747eb4afa4f31b1dce79ff53253f2c4b63";
sha256 = "sha256-YfMJVKMdNR9NiR3OK7CrHdrC3k9NLZ1UTI24KTa0Wt4=";
};
nativeBuildInputs = with pkgs; [
xorg.libX11
Expand Down

0 comments on commit 6fe5bcb

Please sign in to comment.