mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
4 commits
e06447440a
...
05d971b394
Author | SHA1 | Date | |
---|---|---|---|
05d971b394 | |||
2be5d72d43 | |||
e27f42a25c | |||
e33581b476 |
6 changed files with 245 additions and 109 deletions
179
flake.lock
179
flake.lock
|
@ -91,6 +91,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"crane_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"manga-tui",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1724006180,
|
||||||
|
"narHash": "sha256-PVxPj0Ga2fMYMtcT9ARCthF+4U71YkOT7ZjgD/vf1Aw=",
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"rev": "7ce92819802bc583b7e82ebc08013a530f22209f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"devshell": {
|
"devshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -325,6 +346,24 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils_6": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_6"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flakey-profile": {
|
"flakey-profile": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712898590,
|
"lastModified": 1712898590,
|
||||||
|
@ -554,6 +593,27 @@
|
||||||
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz"
|
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0.tar.gz"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"manga-tui": {
|
||||||
|
"inputs": {
|
||||||
|
"crane": "crane_2",
|
||||||
|
"flake-utils": "flake-utils_3",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
|
"rust-overlay": "rust-overlay_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1724635557,
|
||||||
|
"narHash": "sha256-672AuQWviwihnUS3G0xSn4IAMHy0fPE1VLDfu8wrPGg=",
|
||||||
|
"owner": "josueBarretogit",
|
||||||
|
"repo": "manga-tui",
|
||||||
|
"rev": "e24c9686eefe78826eca2b0d480973d2ad5df348",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "josueBarretogit",
|
||||||
|
"repo": "manga-tui",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-darwin": {
|
"nix-darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -576,7 +636,7 @@
|
||||||
},
|
},
|
||||||
"nix-darwin_2": {
|
"nix-darwin_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716329735,
|
"lastModified": 1716329735,
|
||||||
|
@ -617,9 +677,9 @@
|
||||||
"nix-homebrew": {
|
"nix-homebrew": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"brew-src": "brew-src",
|
"brew-src": "brew-src",
|
||||||
"flake-utils": "flake-utils_3",
|
"flake-utils": "flake-utils_4",
|
||||||
"nix-darwin": "nix-darwin_2",
|
"nix-darwin": "nix-darwin_2",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1719720211,
|
"lastModified": 1719720211,
|
||||||
|
@ -637,15 +697,18 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1687274257,
|
"lastModified": 1723991338,
|
||||||
"narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=",
|
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
|
||||||
"path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source",
|
"owner": "nixos",
|
||||||
"rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5",
|
"repo": "nixpkgs",
|
||||||
"type": "path"
|
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"owner": "nixos",
|
||||||
"type": "indirect"
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-lib": {
|
"nixpkgs-lib": {
|
||||||
|
@ -693,6 +756,19 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1687274257,
|
||||||
|
"narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=",
|
||||||
|
"path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source",
|
||||||
|
"rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5",
|
||||||
|
"type": "path"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716330097,
|
"lastModified": 1716330097,
|
||||||
"narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=",
|
"narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=",
|
||||||
|
@ -708,7 +784,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724479785,
|
"lastModified": 1724479785,
|
||||||
"narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
|
"narHash": "sha256-pP3Azj5d6M5nmG68Fu4JqZmdGt4S4vqI5f8te+E/FTw=",
|
||||||
|
@ -724,22 +800,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724224976,
|
"lastModified": 1724224976,
|
||||||
|
@ -772,6 +832,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_7": {
|
||||||
|
"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": {
|
"nixvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
|
@ -803,7 +879,7 @@
|
||||||
},
|
},
|
||||||
"nuschtosSearch": {
|
"nuschtosSearch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_4",
|
"flake-utils": "flake-utils_5",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"personal-neovim",
|
"personal-neovim",
|
||||||
"nixvim",
|
"nixvim",
|
||||||
|
@ -827,7 +903,7 @@
|
||||||
"personal-neovim": {
|
"personal-neovim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts_2",
|
"flake-parts": "flake-parts_2",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"nixvim": "nixvim"
|
"nixvim": "nixvim"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -881,9 +957,10 @@
|
||||||
"homebrew-core": "homebrew-core",
|
"homebrew-core": "homebrew-core",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
"lix-module": "lix-module",
|
"lix-module": "lix-module",
|
||||||
|
"manga-tui": "manga-tui",
|
||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
"nix-homebrew": "nix-homebrew",
|
"nix-homebrew": "nix-homebrew",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-unstable-small": "nixpkgs-unstable-small",
|
"nixpkgs-unstable-small": "nixpkgs-unstable-small",
|
||||||
"personal-neovim": "personal-neovim",
|
"personal-neovim": "personal-neovim",
|
||||||
"spicetify": "spicetify",
|
"spicetify": "spicetify",
|
||||||
|
@ -934,6 +1011,27 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rust-overlay_3": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"manga-tui",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1724206841,
|
||||||
|
"narHash": "sha256-L8dKaX4T3k+TR2fEHCfGbH4UXdspovz/pj87iai9qmc=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "45e98fbd62c32e5927e952d2833fa1ba4fb35a61",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"spicetify": {
|
"spicetify": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_4",
|
"flake-compat": "flake-compat_4",
|
||||||
|
@ -1046,6 +1144,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_6": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -1070,8 +1183,8 @@
|
||||||
},
|
},
|
||||||
"vesktop-bin": {
|
"vesktop-bin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_6",
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724592759,
|
"lastModified": 1724592759,
|
||||||
|
@ -1105,7 +1218,7 @@
|
||||||
},
|
},
|
||||||
"zen-browser": {
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_7"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724719995,
|
"lastModified": 1724719995,
|
||||||
|
|
|
@ -68,6 +68,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
zen-browser.url = "github:youwen5/zen-browser-flake";
|
zen-browser.url = "github:youwen5/zen-browser-flake";
|
||||||
|
|
||||||
|
manga-tui.url = "github:josueBarretogit/manga-tui";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
|
@ -9,8 +9,7 @@
|
||||||
in {
|
in {
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: {
|
||||||
manga-tui = bleedingpkgs.manga-tui;
|
manga-tui = inputs.manga-tui.packages.${pkgs.system}.default;
|
||||||
})
|
})
|
||||||
# inputs.zen-browser.overlays.default
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,85 +37,90 @@
|
||||||
"XCURSOR_THEME,Bibata-Modern-Ice"
|
"XCURSOR_THEME,Bibata-Modern-Ice"
|
||||||
"XCURSOR_SIZE,26"
|
"XCURSOR_SIZE,26"
|
||||||
];
|
];
|
||||||
bind = [
|
bind =
|
||||||
# External reserved keys: SUPER + Z and SUPER + X for zen-browser.
|
[
|
||||||
|
# External reserved keys: SUPER + Z and SUPER + X for zen-browser.
|
||||||
|
|
||||||
# Application Keybinds
|
# Application Keybinds
|
||||||
"$mod, F, exec, zen-bin || librewolf"
|
"$mod, T, exec, kitty"
|
||||||
"$mod, T, exec, kitty"
|
"$mod, E, exec, dolphin"
|
||||||
"$mod, E, exec, dolphin"
|
"$mod, R, exec, pavucontrol"
|
||||||
"$mod, R, exec, pavucontrol"
|
"$mod, M, exec, thunderbird"
|
||||||
"$mod, M, exec, thunderbird"
|
"$mod, B, exec, waypaper"
|
||||||
"$mod, B, exec, waypaper"
|
|
||||||
|
|
||||||
# Window actions
|
# Window actions
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod, W, togglefloating"
|
"$mod, W, togglefloating"
|
||||||
"$mod, V, togglesplit"
|
"$mod, V, togglesplit"
|
||||||
"$mod, Return, fullscreen"
|
"$mod, Return, fullscreen"
|
||||||
|
|
||||||
# Move around
|
# Move around
|
||||||
"$mod, $Left, movefocus, l"
|
"$mod, $Left, movefocus, l"
|
||||||
"$mod, $Right, movefocus, r"
|
"$mod, $Right, movefocus, r"
|
||||||
"$mod, $Up, movefocus, u"
|
"$mod, $Up, movefocus, u"
|
||||||
"$mod, $Down, movefocus, d"
|
"$mod, $Down, movefocus, d"
|
||||||
|
|
||||||
"$mod, 1, workspace, 1"
|
"$mod, 1, workspace, 1"
|
||||||
"$mod, 2, workspace, 2"
|
"$mod, 2, workspace, 2"
|
||||||
"$mod, 3, workspace, 3"
|
"$mod, 3, workspace, 3"
|
||||||
"$mod, 4, workspace, 4"
|
"$mod, 4, workspace, 4"
|
||||||
"$mod, 5, workspace, 5"
|
"$mod, 5, workspace, 5"
|
||||||
"$mod, 6, workspace, 6"
|
"$mod, 6, workspace, 6"
|
||||||
"$mod, 7, workspace, 7"
|
"$mod, 7, workspace, 7"
|
||||||
"$mod, 8, workspace, 8"
|
"$mod, 8, workspace, 8"
|
||||||
"$mod, 9, workspace, 9"
|
"$mod, 9, workspace, 9"
|
||||||
"$mod, 0, workspace, 10"
|
"$mod, 0, workspace, 10"
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
"$mod+Shift, 1, movetoworkspace, 1"
|
"$mod+Shift, 1, movetoworkspace, 1"
|
||||||
"$mod+Shift, 2, movetoworkspace, 2"
|
"$mod+Shift, 2, movetoworkspace, 2"
|
||||||
"$mod+Shift, 3, movetoworkspace, 3"
|
"$mod+Shift, 3, movetoworkspace, 3"
|
||||||
"$mod+Shift, 4, movetoworkspace, 4"
|
"$mod+Shift, 4, movetoworkspace, 4"
|
||||||
"$mod+Shift, 5, movetoworkspace, 5"
|
"$mod+Shift, 5, movetoworkspace, 5"
|
||||||
"$mod+Shift, 6, movetoworkspace, 6"
|
"$mod+Shift, 6, movetoworkspace, 6"
|
||||||
"$mod+Shift, 7, movetoworkspace, 7"
|
"$mod+Shift, 7, movetoworkspace, 7"
|
||||||
"$mod+Shift, 8, movetoworkspace, 8"
|
"$mod+Shift, 8, movetoworkspace, 8"
|
||||||
"$mod+Shift, 9, movetoworkspace, 9"
|
"$mod+Shift, 9, movetoworkspace, 9"
|
||||||
"$mod+Shift, 0, movetoworkspace, 10"
|
"$mod+Shift, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
# move to the first empty workspace instantly
|
# move to the first empty workspace instantly
|
||||||
"$mod+Ctrl, $Down, workspace, empty"
|
"$mod+Ctrl, $Down, workspace, empty"
|
||||||
"$mod+Ctrl, $Up, movetoworkspace, empty"
|
"$mod+Ctrl, $Up, movetoworkspace, empty"
|
||||||
|
|
||||||
# Special workspace
|
# Special workspace
|
||||||
"$mod, S, togglespecialworkspace"
|
"$mod, S, togglespecialworkspace"
|
||||||
"$mod+Alt, S, movetoworkspacesilent, special"
|
"$mod+Alt, S, movetoworkspacesilent, special"
|
||||||
|
|
||||||
# Move windows around
|
# Move windows around
|
||||||
"$mod+Shift, $Left, movewindow, l"
|
"$mod+Shift, $Left, movewindow, l"
|
||||||
"$mod+Shift, $Right, movewindow, r"
|
"$mod+Shift, $Right, movewindow, r"
|
||||||
"$mod+Shift, $Up, movewindow, u"
|
"$mod+Shift, $Up, movewindow, u"
|
||||||
"$mod+Shift, $Down, movewindow, d"
|
"$mod+Shift, $Down, movewindow, d"
|
||||||
|
|
||||||
"$mod+Ctrl+Shift, $Right, movetoworkspace, r+1"
|
"$mod+Ctrl+Shift, $Right, movetoworkspace, r+1"
|
||||||
"$mod+Ctrl+Shift, $Left, movetoworkspace, r-1"
|
"$mod+Ctrl+Shift, $Left, movetoworkspace, r-1"
|
||||||
|
|
||||||
"$mod+Ctrl, $Right, workspace, r+1"
|
"$mod+Ctrl, $Right, workspace, r+1"
|
||||||
"$mod+Ctrl, $Left, workspace, r-1"
|
"$mod+Ctrl, $Left, workspace, r-1"
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
|
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
|
||||||
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
|
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
|
||||||
|
|
||||||
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
||||||
|
|
||||||
"$mod, Backspace, exec, wlogout" # show logout menu
|
"$mod, Backspace, exec, wlogout" # show logout menu
|
||||||
|
|
||||||
"$mod, I, exec, hyprlock"
|
"$mod, I, exec, hyprlock"
|
||||||
|
|
||||||
# System control
|
# System control
|
||||||
",XF86AudioMute, exec, pamixer -t"
|
",XF86AudioMute, exec, pamixer -t"
|
||||||
];
|
]
|
||||||
|
++ (
|
||||||
|
if pkgs.system != "aarch64-linux"
|
||||||
|
then ["$mod, F, exec, zen-bin"]
|
||||||
|
else ["$mod, F, exec, librewolf"]
|
||||||
|
);
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
|
|
|
@ -22,7 +22,7 @@ with pkgs; [
|
||||||
usbutils # lsusb
|
usbutils # lsusb
|
||||||
|
|
||||||
# desktop utils
|
# desktop utils
|
||||||
bitwarden-cli
|
# bitwarden-cli
|
||||||
|
|
||||||
# desktop apps
|
# desktop apps
|
||||||
dolphin
|
dolphin
|
||||||
|
|
|
@ -4,16 +4,33 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
createCommon = import ../common-packages.nix;
|
createCommon = import ../common-packages.nix;
|
||||||
|
zen-browser = inputs.zen-browser.packages.${pkgs.system}.specific;
|
||||||
in {
|
in {
|
||||||
home.packages =
|
home.packages =
|
||||||
(createCommon pkgs)
|
(createCommon pkgs)
|
||||||
++ (with pkgs; [
|
++ (with pkgs;
|
||||||
bitwarden-desktop
|
[
|
||||||
modrinth-app
|
bitwarden-desktop
|
||||||
lutris
|
modrinth-app
|
||||||
wine
|
lutris
|
||||||
sbctl
|
wine
|
||||||
r2modman
|
sbctl
|
||||||
inputs.zen-browser.packages.${pkgs.system}.specific
|
r2modman
|
||||||
]);
|
]
|
||||||
|
++ [zen-browser]);
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"text/html" = ["zen.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["dev.zen.Zen.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["dev.zen.Zen.desktop"];
|
||||||
|
"x-scheme-handler/about" = ["dev.zen.Zen.desktop"];
|
||||||
|
"x-scheme-handler/unknown" = ["dev.zen.Zen.desktop"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
DEFAULT_BROWSER = "${zen-browser}/bin/zen-bin";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue