cleanup, switch to nix-super
This commit is contained in:
parent
45425254bf
commit
3015395f82
11 changed files with 169 additions and 226 deletions
|
@ -11,7 +11,7 @@ in {
|
|||
home-manager.users.${username} = {
|
||||
programs.zellij = {
|
||||
enable = true;
|
||||
enableFishIntegration = false;
|
||||
enableFishIntegration = true;
|
||||
on_force_close = "quit";
|
||||
layout_dir = "${./layouts}";
|
||||
settings = {
|
||||
|
|
|
@ -4,16 +4,13 @@ _: {
|
|||
./gtk.nix
|
||||
./foot.nix
|
||||
./mpv.nix
|
||||
# ./kakoune
|
||||
./qt.nix
|
||||
./zathura.nix
|
||||
./spicetify.nix
|
||||
./kitty.nix
|
||||
#./vivado.nix
|
||||
./steam.nix
|
||||
./waybar.nix
|
||||
./schizofox
|
||||
./minecraft.nix
|
||||
# ./emacs
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
|
|
@ -19,10 +19,7 @@ in {
|
|||
plugins = with inputs'.anyrun.packages; [
|
||||
applications
|
||||
dictionary
|
||||
#rink
|
||||
shell
|
||||
# symbols
|
||||
#translate
|
||||
websearch
|
||||
];
|
||||
hideIcons = false;
|
||||
|
@ -45,6 +42,7 @@ in {
|
|||
desktop_actions: false
|
||||
)
|
||||
'';
|
||||
|
||||
"websearch.ron".text = ''
|
||||
Config(
|
||||
prefix: "?",
|
||||
|
@ -52,29 +50,6 @@ in {
|
|||
)
|
||||
'';
|
||||
|
||||
"symbols.ron".text = ''
|
||||
Config(
|
||||
// The prefix that the search needs to begin with to yield symbol results
|
||||
prefix: ":sy",
|
||||
|
||||
// Custom user defined symbols to be included along the unicode symbols
|
||||
symbols: {
|
||||
// "name": "text to be copied"
|
||||
"shrug": "¯\\_(ツ)_/¯",
|
||||
},
|
||||
|
||||
// The number of entries to be displayed
|
||||
max_entries: 5,
|
||||
)
|
||||
'';
|
||||
|
||||
"translate.ron".text = ''
|
||||
Config(
|
||||
prefix: ":tr",
|
||||
language_delimiter: ">",
|
||||
max_entries: 3,
|
||||
)
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
* {
|
||||
all: unset;
|
||||
font-size: 1.3rem;
|
||||
font-family: "JetBrains Mono"
|
||||
font-family: "ComicShannsMono Nerd Font"
|
||||
}
|
||||
|
||||
#window,
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
inputs',
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./documentation.nix # nixos documentation
|
||||
# ./nixpkgs.nix # global nixpkgs configuration.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
# Lix, Nix but gay!
|
||||
package = pkgs.lix;
|
||||
package = inputs'.nix-super.packages.default;
|
||||
|
||||
# Run the Nix daemon on lowest possible priority so that my system
|
||||
# stays responsive during demanding tasks such as GC and builds.
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
allowBroken = false;
|
||||
allowUnsupportedSystem = true;
|
||||
|
||||
# Really a pain in the ass to deal with when disabled. True means
|
||||
# we are able to build unfree packages without explicitly allowing
|
||||
# each unfree package.
|
||||
# Allow unfree packages since it's sadly necessary
|
||||
allowUnfree = true;
|
||||
|
||||
# Default to none, add more as necessary. This is usually where
|
||||
|
|
|
@ -18,8 +18,9 @@
|
|||
(inputs'.split-monitor-workspaces.packages)
|
||||
split-monitor-workspaces
|
||||
;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
config = mkIf cfg.enable {
|
||||
# programs.hyprland = {
|
||||
# enable = true;
|
||||
# inherit (cfg) package;
|
||||
|
@ -127,8 +128,6 @@ in {
|
|||
kb_layout = "de";
|
||||
kb_variant = "";
|
||||
kb_model = "";
|
||||
# kb_options = "grp:alt_shift_toggle,misc:extend,lv5:caps_switch_lock,compose:menu";
|
||||
# kb_rules = ",evdev";
|
||||
|
||||
follow_mouse = true;
|
||||
|
||||
|
@ -139,6 +138,7 @@ in {
|
|||
disable_while_typing = true;
|
||||
};
|
||||
};
|
||||
|
||||
general = {
|
||||
sensitivity = 1.0;
|
||||
gaps_in = 0;
|
||||
|
@ -147,6 +147,7 @@ in {
|
|||
|
||||
no_border_on_floating = true;
|
||||
};
|
||||
|
||||
#Decoration settings
|
||||
decoration = {
|
||||
rounding = 0;
|
||||
|
@ -166,8 +167,6 @@ in {
|
|||
# Generate your own at https://www.cssportal.com/css-cubic-bezier-generator/
|
||||
bezier = [
|
||||
"dupa, 0.1, 0.9, 0.1, 1.05"
|
||||
"apf,0.76,0,0.24,1"
|
||||
"fast,0.34,1.56,0.64,1"
|
||||
];
|
||||
# Hyprland anomations, using the above bezier curves
|
||||
animations = {
|
||||
|
@ -180,12 +179,14 @@ in {
|
|||
"workspaces, 1, 5, dupa, slidevert"
|
||||
];
|
||||
};
|
||||
|
||||
dwindle = {no_gaps_when_only = true;};
|
||||
|
||||
cursor = {
|
||||
hide_on_key_press = true;
|
||||
no_hardware_cursors = true;
|
||||
};
|
||||
|
||||
misc = {
|
||||
enable_swallow = true;
|
||||
swallow_regex = "foot";
|
||||
|
@ -196,6 +197,7 @@ in {
|
|||
animate_mouse_windowdragging = false;
|
||||
force_default_wallpaper = 0;
|
||||
};
|
||||
|
||||
# Window rules for some programs.
|
||||
windowrulev2 = [
|
||||
"float, class:^(Tor Browser)$"
|
||||
|
@ -210,6 +212,7 @@ in {
|
|||
"center, class: ^(code), title: ^(Open*)"
|
||||
"float, class:^(org.keepassxc.KeePassXC)$"
|
||||
];
|
||||
|
||||
# Keybinds
|
||||
bind = [
|
||||
"$mainMod, RETURN, exec, ${foot}/bin/foot"
|
||||
|
@ -351,9 +354,10 @@ in {
|
|||
"${pkgs.procps}/bin/pkill helvum"
|
||||
|
||||
# and run it all again
|
||||
"[workspace special:pipewire silent;tile] ${pkgs.helvum}/bin/helvum"
|
||||
"[workspace special:pipewire;silent;tile] ${pkgs.pavucontrol}/bin/pavucontrol"
|
||||
"[workspace special:pipewire; silent;tile] ${pkgs.helvum}/bin/helvum"
|
||||
"[workspace special:pipewire; silent;tile] ${pkgs.pavucontrol}/bin/pavucontrol"
|
||||
];
|
||||
|
||||
plugin = {
|
||||
split-monitor-workspaces = {
|
||||
keep-focued = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue