This commit is contained in:
Lilith 2024-06-11 01:45:11 +02:00
parent 3f32cdd6ff
commit b2bcd52da0
Signed by: lilith
GPG key ID: 8712A0F317C37175
9 changed files with 146 additions and 21 deletions

109
flake.lock generated
View file

@ -380,6 +380,28 @@
"type": "github" "type": "github"
} }
}, },
"hyprlang": {
"inputs": {
"nixpkgs": [
"rose-pine-hyprcursor",
"nixpkgs"
],
"systems": "systems_4"
},
"locked": {
"lastModified": 1709914708,
"narHash": "sha256-bR4o3mynoTa1Wi4ZTjbnsZ6iqVcPGriXp56bZh5UFTk=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"impermanence": { "impermanence": {
"locked": { "locked": {
"lastModified": 1717932370, "lastModified": 1717932370,
@ -476,6 +498,22 @@
} }
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": {
"lastModified": 1710272261,
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1714912032, "lastModified": 1714912032,
"narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=", "narHash": "sha256-clkcOIkg8G4xuJh+1onLG4HPMpbtzdLv4rHxFzgsH9c=",
@ -522,10 +560,31 @@
"impermanence": "impermanence", "impermanence": "impermanence",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-stable": "nixpkgs-stable_2", "nixpkgs-stable": "nixpkgs-stable_2",
"rose-pine-hyprcursor": "rose-pine-hyprcursor",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"stylix": "stylix" "stylix": "stylix"
} }
}, },
"rose-pine-hyprcursor": {
"inputs": {
"hyprlang": "hyprlang",
"nixpkgs": "nixpkgs_4",
"utils": "utils"
},
"locked": {
"lastModified": 1711302328,
"narHash": "sha256-wLuFLI6S5DOretqJN05+kvrs8cbnZKfVLXrJ4hvI/Tg=",
"owner": "ndom91",
"repo": "rose-pine-hyprcursor",
"rev": "7e0473876f0e6d2308813a78fe84a6c6430b112b",
"type": "github"
},
"original": {
"owner": "ndom91",
"repo": "rose-pine-hyprcursor",
"type": "github"
}
},
"rust-overlay": { "rust-overlay": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@ -586,7 +645,7 @@
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1717866166, "lastModified": 1717866166,
@ -646,6 +705,54 @@
"repo": "default", "repo": "default",
"type": "github" "type": "github"
} }
},
"systems_4": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems_5"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -29,6 +29,8 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils"; inputs.flake-utils.follows = "flake-utils";
}; };
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
}; };
outputs = { outputs = {

View file

@ -16,6 +16,7 @@
./rofi.nix ./rofi.nix
./sops.nix ./sops.nix
./stylix.nix ./stylix.nix
./thunderbird.nix
./zsh ./zsh
]; ];
} }

View file

@ -120,6 +120,10 @@
profiles.ChatGPT = { profiles.ChatGPT = {
name = "ChatGPT"; name = "ChatGPT";
id = 1; id = 1;
userChrome = ''
#TabsToolbar { visibility: collapse !important; }
#nav-bar { visibility: collapse !important; }
'';
}; };
}; };
} }

View file

@ -19,6 +19,10 @@
"$terminal" = "alacritty"; "$terminal" = "alacritty";
"$fileManager" = "alacritty -e ranger"; "$fileManager" = "alacritty -e ranger";
env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
];
monitor = [ monitor = [
",preferred,1" ",preferred,1"
]; ];
@ -111,24 +115,24 @@
"$mainMod, C, killactive," "$mainMod, C, killactive,"
"$mainMod, backspace, exec, hyprlock" "$mainMod, backspace, exec, hyprlock"
"$mainMod, E, exec, $fileManager" "$mainMod, E, exec, $fileManager"
"$mainMod, O, togglefloating," "$mainMod, A, togglefloating,"
"$mainMod, R, exec, rofi -show drun" "$mainMod, R, exec, rofi -show drun"
"$mainMod, P, pseudo," "$mainMod, P, pseudo,"
"$mainMod, J, togglesplit," "$mainMod, S, togglesplit,"
"$mainMod, K, togglespecialworkspace, keepass" "$mainMod, P, togglespecialworkspace, keepass"
"$mainMod, K, exec, if (( $(pgrep keepassxc -c) < 2 )); then keepassxc; fi" "$mainMod, P, exec, if (( $(pgrep keepassxc -c) < 2 )); then keepassxc; fi"
"$mainMod, M, togglespecialworkspace, chatgpt" "$mainMod, O, togglespecialworkspace, chatgpt"
"$mainMod, M, exec, [workspace special:chatgpt] pgrep firefox | xargs ps -fp | grep -- '-P ChatGPT --url chat.openai.com' || firefox -P ChatGPT --url chat.openai.com" "$mainMod, O, exec, [workspace special:chatgpt] pgrep firefox | xargs ps -fp | grep -- '-P ChatGPT --url chat.openai.com' || firefox -P ChatGPT --url chat.openai.com"
", print, exec, hyprshot -m region -o /home/lilith/sync/screenshots -z" ", print, exec, hyprshot -m region -o /home/lilith/sync/screenshots -z"
"CTRL, print, exec, hyprshot -m output -o /home/lilith/sync/screenshots -z" "CTRL, print, exec, hyprshot -m output -o /home/lilith/sync/screenshots -z"
"$mainMod, left, movefocus, l" "$mainMod, H, movefocus, l"
"$mainMod, right, movefocus, r" "$mainMod, L, movefocus, r"
"$mainMod, up, movefocus, u" "$mainMod, K, movefocus, u"
"$mainMod, down, movefocus, d" "$mainMod, J, movefocus, d"
"$mainMod, 1, workspace, 1" "$mainMod, 1, workspace, 1"
"$mainMod, 2, workspace, 2" "$mainMod, 2, workspace, 2"
@ -152,8 +156,8 @@
"$mainMod SHIFT, 9, movetoworkspace, 9" "$mainMod SHIFT, 9, movetoworkspace, 9"
"$mainMod SHIFT, 0, movetoworkspace, 10" "$mainMod SHIFT, 0, movetoworkspace, 10"
"$mainMod, S, togglespecialworkspace, magic" "$mainMod, I, togglespecialworkspace, magic"
"$mainMod SHIFT, S, movetoworkspace, special:magic" "$mainMod SHIFT, I, movetoworkspace, special:magic"
]; ];
bindm = [ bindm = [

8
home/thunderbird.nix Normal file
View file

@ -0,0 +1,8 @@
{...}:{
programs.thunderbird = {
enable = true;
settings = {
};
};
}

View file

@ -17,7 +17,5 @@
./syncthing.nix ./syncthing.nix
./wayland.nix ./wayland.nix
./zsh.nix ./zsh.nix
] ++ lib.optionals config.gaming.enable [
./vr.nix
]; ];
} }

View file

@ -11,10 +11,10 @@
}; };
fonts = { fonts = {
# monospace = { monospace = {
# package = pkgs.jetbrains-mono; package = (pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];});
# name = "JetBrainsMono"; name = "JetBrainsMono Nerd Font";
# }; };
emoji = { emoji = {
package = pkgs.twemoji-color-font; package = pkgs.twemoji-color-font;
@ -25,8 +25,8 @@
}; };
cursor = { cursor = {
package = pkgs.bibata-cursors; package = pkgs.rose-pine-cursor;
name = "Bibata theme"; name = "Rosé Pine";
}; };
}; };
} }

View file

@ -17,6 +17,7 @@
hyprlock hyprlock
hypridle hypridle
hyprpaper hyprpaper
hyprcursor
]; ];
xdg.portal = { xdg.portal = {