Better fzgo config
This commit is contained in:
parent
116749fcbd
commit
524c4c1566
|
@ -8,11 +8,11 @@
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
|
"narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=",
|
||||||
"path": "/nix/store/ixr36hzwj4vg8wrmjkpi96idpchpbk2j-source/home/ags",
|
"path": "/nix/store/z6zfs7pfc5d3p3kw4y0gkzad54lnkr4c-source/home/ags",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/ixr36hzwj4vg8wrmjkpi96idpchpbk2j-source/home/ags",
|
"path": "/nix/store/z6zfs7pfc5d3p3kw4y0gkzad54lnkr4c-source/home/ags",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
fzgo_paths = [
|
fzgo_paths = {
|
||||||
"/home/user/.dotfiles"
|
files = [
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
"/home/user/.dotfiles"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
"/home/server/.cache/fzgo/entries/f/|home|server|Workspace"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
];
|
||||||
];
|
dirs = [
|
||||||
|
"/home/user/.dotfiles"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
||||||
|
];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
fzgo_paths = [
|
fzgo_paths = {
|
||||||
"/home/user/.dotfiles"
|
files = [
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
"/home/user/.dotfiles"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
"/home/server/.cache/fzgo/entries/f/|home|server|Workspace"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
];
|
||||||
];
|
dirs = [
|
||||||
|
"/home/user/.dotfiles"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
||||||
|
];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -37,7 +43,7 @@ in
|
||||||
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
monitor = [
|
monitor = [
|
||||||
"eDP-1,2560x1440@60.01,0x0,1.25"
|
"eDP-1,2560x1440@60.01,0x0,1"
|
||||||
"HDMI-A-1,1920x1080@60,0x-1080,1"
|
"HDMI-A-1,1920x1080@60,0x-1080,1"
|
||||||
];
|
];
|
||||||
bind = [
|
bind = [
|
||||||
|
@ -49,5 +55,5 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.alacritty.settings.font.size = 13;
|
programs.alacritty.settings.font.size = 13;
|
||||||
programs.kitty.font.size = 13;
|
programs.kitty.font.size = 15;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
fzgo_paths = [
|
fzgo_paths = {
|
||||||
"/home/user/.dotfiles"
|
files = [
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
"/home/user/.dotfiles"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
"/home/server/.cache/fzgo/entries/f/|home|server|Workspace"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
];
|
||||||
];
|
dirs = [
|
||||||
|
"/home/user/.dotfiles"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
||||||
|
];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -55,13 +55,19 @@ let
|
||||||
'');
|
'');
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
fzgo_paths = [
|
fzgo_paths = {
|
||||||
"${home_dir}/.dotfiles"
|
files = [
|
||||||
"${home_dir}/Workspace"
|
"${home_dir}/.dotfiles"
|
||||||
"${home_dir}/Containers"
|
"${home_dir}/Workspace"
|
||||||
"${home_dir}/Storage/Thomas"
|
];
|
||||||
"${home_dir}/Storage/Shared"
|
dirs = [
|
||||||
];
|
"${home_dir}/.dotfiles"
|
||||||
|
"${home_dir}/Workspace"
|
||||||
|
"${home_dir}/Containers"
|
||||||
|
"${home_dir}/Storage/Thomas"
|
||||||
|
"${home_dir}/Storage/Shared"
|
||||||
|
];
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
home.username = username;
|
home.username = username;
|
||||||
home.homeDirectory = home_dir;
|
home.homeDirectory = home_dir;
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
{ inputs, config, pkgs, ... }:
|
{ inputs, config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
fzgo_paths = [
|
fzgo_paths = {
|
||||||
"/home/user/.dotfiles"
|
files = [
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
"/home/user/.dotfiles"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
"/home/server/.cache/fzgo/entries/f/|home|server|Workspace"
|
||||||
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
];
|
||||||
];
|
dirs = [
|
||||||
|
"/home/user/.dotfiles"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Workspace"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Thomas"
|
||||||
|
"/home/server/.cache/fzgo/entries/d/|home|server|Storage|Shared"
|
||||||
|
];
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
wpctl = "${pkgs.wireplumber}/bin/wpctl";
|
wpctl = "${pkgs.wireplumber}/bin/wpctl";
|
||||||
terminal-name = ".kitty-wrapped";
|
terminal-name = ".kitty-wrapped";
|
||||||
terminal = "${pkgs.kitty}/bin/kitty";
|
terminal = "${pkgs.kitty}/bin/kitty";
|
||||||
rofi = "${pkgs.rofi}/bin/rofi";
|
rofi = "${pkgs.rofi-wayland}/bin/rofi";
|
||||||
jq = "${pkgs.jq}/bin/jq";
|
jq = "${pkgs.jq}/bin/jq";
|
||||||
rofi-ykman = pkgs.writeShellScriptBin "rofi-ykman" ''
|
rofi-ykman = pkgs.writeShellScriptBin "rofi-ykman" ''
|
||||||
accounts=$(${pkgs.yubikey-manager}/bin/ykman oath accounts list)
|
accounts=$(${pkgs.yubikey-manager}/bin/ykman oath accounts list)
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.rofi-wayland;
|
||||||
font = "SF Pro Rounded 13";
|
font = "SF Pro Rounded 13";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
show-icons = true;
|
show-icons = true;
|
||||||
|
|
|
@ -6,7 +6,7 @@ let
|
||||||
target = ".config/fzgo/entries/${file_type}/${pkgs.lib.strings.replaceStrings [ "/" ] [ "|" ] source_path}";
|
target = ".config/fzgo/entries/${file_type}/${pkgs.lib.strings.replaceStrings [ "/" ] [ "|" ] source_path}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
mkLinks = source_path: (mkLink source_path "d") // (mkLink source_path "f");
|
links = (map (source_path: mkLink source_path "f") fzgo_paths.files) ++ (map (source_path: mkLink source_path "d") fzgo_paths.dirs);
|
||||||
in {
|
in {
|
||||||
home.file = pkgs.lib.mkMerge (map mkLinks fzgo_paths);
|
home.file = pkgs.lib.mkMerge links;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue