mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-24 17:53:51 -08:00
Compare commits
7 commits
daa5b7fa5b
...
e06447440a
Author | SHA1 | Date | |
---|---|---|---|
e06447440a | |||
7c912238a1 | |||
9c211e6372 | |||
b5be7ab1b3 | |||
7c42308f53 | |||
9aa7f83895 | |||
b55e316ff8 |
8 changed files with 70 additions and 22 deletions
67
flake.lock
67
flake.lock
|
@ -24,11 +24,11 @@
|
|||
},
|
||||
"bleedingpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1724654909,
|
||||
"narHash": "sha256-otsBriUWjxgJae6DwjsEO4TUQkEhtLmXxLUlqRK1HrU=",
|
||||
"lastModified": 1724709214,
|
||||
"narHash": "sha256-s94P5fVMIt8I9wYgTrQoQjvTk7jxSuvOrASgtTI9NTw=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a64bbc6c1b77d2012b50370bc33102cb4ed0418c",
|
||||
"rev": "9daa847339d0f6ebff5ad3615d6d499735df3151",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -463,11 +463,11 @@
|
|||
"homebrew-cask": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1724652617,
|
||||
"narHash": "sha256-/iCv+iXkc6pnAQVb3K/ofJvAbnMz0s4Fx7bQQoMTDVs=",
|
||||
"lastModified": 1724706821,
|
||||
"narHash": "sha256-kFXLEM6ENHr73hZPFm+CD/mjXghWV2X/cFZjDp1K718=",
|
||||
"owner": "homebrew",
|
||||
"repo": "homebrew-cask",
|
||||
"rev": "05f6a38cd2c3fa5e7e6c38b573cbb8fe6615d2d6",
|
||||
"rev": "298c23094c3598ed3f5a689d8451f8d350ab2edf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -479,11 +479,11 @@
|
|||
"homebrew-core": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1724654372,
|
||||
"narHash": "sha256-8kuJn915lC4NZn1q9P6x5O0oejbAQOUbkQknnaxfau8=",
|
||||
"lastModified": 1724709004,
|
||||
"narHash": "sha256-nuhB4c/B+HX5ER5Qu7xTEnj40FIhLjL/EcXFYHsWFmM=",
|
||||
"owner": "homebrew",
|
||||
"repo": "homebrew-core",
|
||||
"rev": "0ef0cd2c850c85d264922569d37badedcf701c9b",
|
||||
"rev": "d673c4306f672267e0cc2071a13b1f4f46b02e53",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -678,11 +678,11 @@
|
|||
},
|
||||
"nixpkgs-unstable-small": {
|
||||
"locked": {
|
||||
"lastModified": 1724607561,
|
||||
"narHash": "sha256-7I922FoAJO9P2YRJrxQx1ufQom3wvozJNL/Ul6eEKLI=",
|
||||
"lastModified": 1724696583,
|
||||
"narHash": "sha256-YSpKLdlUURGjeWeg7/p3nxohuDaDlRfsKlxft57uSjM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "8da188f8e754473cb2f5a922bef75a734bfa0fd6",
|
||||
"rev": "48e00dda260902c86a948e7003fd655f22bf59f3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -710,11 +710,11 @@
|
|||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1724224976,
|
||||
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
|
||||
"lastModified": 1724479785,
|
||||
"narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
|
||||
"rev": "d0e1602ddde669d5beb01aec49d71a51937ed7be",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -756,6 +756,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1724224976,
|
||||
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixvim": {
|
||||
"inputs": {
|
||||
"devshell": "devshell",
|
||||
|
@ -873,7 +889,8 @@
|
|||
"spicetify": "spicetify",
|
||||
"stablepkgs": "stablepkgs",
|
||||
"vesktop-bin": "vesktop-bin",
|
||||
"wallpapers": "wallpapers"
|
||||
"wallpapers": "wallpapers",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
|
@ -1085,6 +1102,24 @@
|
|||
"type": "git",
|
||||
"url": "https://code.youwen.dev/youwen5/wallpapers"
|
||||
}
|
||||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_6"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1724719995,
|
||||
"narHash": "sha256-JBBaAYaW9g/hBH/O+sEwsH2PczaRlqiiUUOi4bopGDw=",
|
||||
"owner": "youwen5",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "0d391c6f3a2616e070ed5a0c808c4b07e9affe27",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "youwen5",
|
||||
"repo": "zen-browser-flake",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
@ -66,6 +66,8 @@
|
|||
url = "git+https://code.youwen.dev/youwen5/wallpapers";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
zen-browser.url = "github:youwen5/zen-browser-flake";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland.settings.monitor = ["DP-1,2560x1440@165,1920x0,auto" "HDMI-A-1,1920x1080@60,0x0,1"];
|
||||
wayland.windowManager.hyprland.package = inputs.stablepkgs.legacyPackages.${pkgs.system}.hyprland;
|
||||
# wayland.windowManager.hyprland.package = inputs.stablepkgs.legacyPackages.${pkgs.system}.hyprland;
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
in {
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
librewolf = nixpkgs-small.librewolf;
|
||||
manga-tui = bleedingpkgs.manga-tui;
|
||||
})
|
||||
# inputs.zen-browser.overlays.default
|
||||
];
|
||||
}
|
||||
|
|
|
@ -38,12 +38,15 @@
|
|||
"XCURSOR_SIZE,26"
|
||||
];
|
||||
bind = [
|
||||
# External reserved keys: SUPER + Z and SUPER + X for zen-browser.
|
||||
|
||||
# Application Keybinds
|
||||
"$mod, F, exec, librewolf"
|
||||
"$mod, F, exec, zen-bin || librewolf"
|
||||
"$mod, T, exec, kitty"
|
||||
"$mod, E, exec, dolphin"
|
||||
"$mod, R, exec, pavucontrol"
|
||||
"$mod, M, exec, thunderbird"
|
||||
"$mod, B, exec, waypaper"
|
||||
|
||||
# Window actions
|
||||
"$mod, Q, killactive"
|
||||
|
@ -116,8 +119,6 @@
|
|||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
"$mod, Z, movewindow"
|
||||
"$mod, X, resizewindow"
|
||||
];
|
||||
bindel = [
|
||||
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
|
||||
|
@ -134,6 +135,7 @@
|
|||
];
|
||||
windowrulev2 = [
|
||||
"opacity 0.90 0.90,class:^(librewolf)$"
|
||||
"opacity 0.90 0.90,class:^(zen-alpha)$"
|
||||
"opacity 0.90 0.90,class:^(Brave-browser)$"
|
||||
"opacity 0.80 0.80,class:^(Steam)$"
|
||||
"opacity 0.80 0.80,class:^(steam)$"
|
||||
|
@ -183,6 +185,8 @@
|
|||
"float,class:^(org.kde.dolphin)$,title:^(Copying — Dolphin)$"
|
||||
"float,title:^(Picture-in-Picture)$"
|
||||
"float,class:^(librewolf)$,title:^(Library)$"
|
||||
"float,class:^(zen-alpha)$,title:^(Library)$"
|
||||
"float,title:^(Extension: (Bitwarden Password Manager))$"
|
||||
"float,class:^(vlc)$"
|
||||
"float,class:^(kvantummanager)$"
|
||||
"float,class:^(qt5ct)$"
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
{pkgs, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
createCommon = import ../common-packages.nix;
|
||||
in {
|
||||
home.packages =
|
||||
|
@ -10,5 +14,6 @@ in {
|
|||
wine
|
||||
sbctl
|
||||
r2modman
|
||||
inputs.zen-browser.packages.${pkgs.system}.specific
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -132,6 +132,7 @@
|
|||
max-length = 50;
|
||||
rewrite = {
|
||||
"(.*) — LibreWolf" = "$1";
|
||||
"(.*) — Zen Browser" = "$1";
|
||||
"^$" = "👾";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -131,6 +131,7 @@
|
|||
max-length = 50;
|
||||
rewrite = {
|
||||
"(.*) — LibreWolf" = "$1";
|
||||
"(.*) — Zen Browser" = "$1";
|
||||
"^$" = "👾";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue