nix meow
This commit is contained in:
17
nix/modules/chromium/home.nix
Normal file
17
nix/modules/chromium/home.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ inputs, pkgs, system, ... }:
|
||||
let
|
||||
|
||||
in
|
||||
{
|
||||
programs.chromium = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
{ id = "ghmbeldphafepmbegfdlkpapadhbakde"; } # ProtonPass
|
||||
{ id = "cjpalhdlnbpafiamejdnhcphjbkeiagm"; } # Ublock
|
||||
{ id = "kpmjjdhbcfebfjgdnpjagcndoelnidfj"; } # Control panel for twitter
|
||||
{ id = "aighbdamfnndbemigjcbkdklkegkgmpl"; } # Better twitter embeds
|
||||
{ id = "enamippconapkdmgfgjchkhakpfinmaj"; } # DeArrow
|
||||
];
|
||||
package = pkgs.chromium.override { enableWideVine = true; };
|
||||
};
|
||||
}
|
||||
@@ -20,8 +20,8 @@
|
||||
# col.inactive_border = rgba(595959aa)
|
||||
resize_on_border = false;
|
||||
allow_tearing = true;
|
||||
layout = dwindle;
|
||||
}
|
||||
layout = "dwindle";
|
||||
};
|
||||
decoration = {
|
||||
rounding = 0;
|
||||
rounding_power = 1;
|
||||
@@ -30,21 +30,21 @@
|
||||
|
||||
shadow = {
|
||||
enable = false;
|
||||
}
|
||||
};
|
||||
|
||||
blur = {
|
||||
enable = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
animations = {
|
||||
enabled = yes;
|
||||
enabled = true;
|
||||
bezier = [
|
||||
"easeOutQuint,0.23,1,0.32,1"
|
||||
"easeInOutCubic,0.65,0.05,0.36,1"
|
||||
"linear,0,0,1,1"
|
||||
"almostLinear,0.5,0.5,0.75,1.0"
|
||||
"quick,0.15,0,0.1,1"
|
||||
]
|
||||
];
|
||||
animation = [
|
||||
"global, 1, 10, default"
|
||||
"border, 1, 5.39, easeOutQuint"
|
||||
@@ -63,26 +63,26 @@
|
||||
"workspacesIn, 1, 1.21, almostLinear, fade"
|
||||
"workspacesOut, 1, 1.94, almostLinear, fade"
|
||||
"zoomFactor, 1, 7, quick"
|
||||
]
|
||||
}
|
||||
];
|
||||
};
|
||||
dwindle = {
|
||||
pseudotile = true;
|
||||
preserve_split = true;
|
||||
}
|
||||
master = {
|
||||
new_status = master
|
||||
}
|
||||
};
|
||||
# master = {
|
||||
# new_status = master;
|
||||
# };
|
||||
misc = {
|
||||
force_default_wallpaper = -1;
|
||||
disable_hyprland_logo = false;
|
||||
enable_anr_dialog = false;
|
||||
}
|
||||
};
|
||||
input = {
|
||||
kb_layout = gb;
|
||||
kb_layout = "gb";
|
||||
follow_mouse = 2;
|
||||
sensitivity = -0.5;
|
||||
}
|
||||
"$mainMod = SUPER"
|
||||
};
|
||||
"$mainMod" = "SUPER";
|
||||
binds = [
|
||||
"$mainMod, Q, exec, $terminal"
|
||||
"$mainMod, C, killactive,"
|
||||
@@ -105,18 +105,20 @@
|
||||
"$mainMod, mouse:272, movewindow"
|
||||
"$mainMod, mouse:273, resizewindow"
|
||||
", F8, sendshortcut, , F8, class:^(com\.obsproject\.Studio)$"
|
||||
"$mainMod, 0, workspace, 10"
|
||||
"$mainMod, SHIFT, 0, movetoworkspace, 10"
|
||||
] ++ (
|
||||
builtins.concatLists (
|
||||
builtins.genLists(i: let ws = i + 1 in [
|
||||
"$mainMod, ${toString i}, workspace, ${toString ws}"
|
||||
"$mainMod SHIFT, ${toString i}, movetoworkspace, ${toString ws}"
|
||||
builtins.genList(i: let ws = i + 1; in [
|
||||
"$mainMod, ${toString ws}, workspace, ${toString ws}"
|
||||
"$mainMod SHIFT, ${toString ws}, movetoworkspace, ${toString ws}"
|
||||
]
|
||||
) 9
|
||||
)
|
||||
);
|
||||
workspace = [
|
||||
"name:2, monitor:DP-3"
|
||||
]
|
||||
];
|
||||
windowrule = [
|
||||
"suppressevent maximize, class:.*"
|
||||
"workspace 5 silent, class:^(gamescope)$"
|
||||
@@ -125,12 +127,12 @@
|
||||
"workspace 8 silent, class:^(vesktop)$"
|
||||
"workspace 8 silent, class:^(org.telegram.desktop)$"
|
||||
"workspace 10 silent, class:^(com\.obsproject\.Studio)$"
|
||||
]
|
||||
];
|
||||
windowrulev2 = [
|
||||
"noinitialfocus, class:.*"
|
||||
]
|
||||
];
|
||||
# exec-once = [
|
||||
# ];
|
||||
# we need to auto launch: quickshell, steam, ar_rpc (maybe), vesktop, telegram, qbit, and obs
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
8
nix/modules/neovim/home.nix
Normal file
8
nix/modules/neovim/home.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
|
||||
in {
|
||||
home.packages = [
|
||||
pkgs.neovim
|
||||
];
|
||||
}
|
||||
1
nix/modules/neovim/result
Symbolic link
1
nix/modules/neovim/result
Symbolic link
@@ -0,0 +1 @@
|
||||
/nix/store/7kpkw7k1pdp5ryd7mv3p2glhsbjqlj8z-home-manager-generation
|
||||
24
nix/modules/quickshell/home.nix
Normal file
24
nix/modules/quickshell/home.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ inputs, config, pkgs, system, ... }:
|
||||
let
|
||||
pkg = inputs.quickshell.packages.${system}.quickshell;
|
||||
in
|
||||
{
|
||||
xdg.configFile."quickshell" = {
|
||||
recursive = true;
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/home/doloro/dotfiles/quickshell/";
|
||||
};
|
||||
systemd.user.services.quickshell = {
|
||||
Unit = {
|
||||
Description = "Quickshell daemon";
|
||||
After = [ "hyprland-session.target" ];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkg}/bin/quickshell";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user