1
0
Fork 0
forked from foxora/nix

Compare commits

...
Sign in to create a new pull request.

21 commits
main ... main

Author SHA1 Message Date
97611185fc changed gleam indentation and telescope preview indentation 2026-02-26 16:59:54 +00:00
db539dbfaf added bypass status to discord 2026-02-26 15:06:29 +00:00
9e6e73d2d9 changed pinned dms 2026-02-26 15:03:42 +00:00
12a9415de7 changed nvim keybinds for focusing windows 2026-02-26 15:03:23 +00:00
d274bccefa hide when typing in alacritty 2026-02-26 10:53:00 +00:00
80a3334813 changed keybinds for autocomplete 2026-02-26 10:48:39 +00:00
d66145df58 added protobuf lsp and formatting :3 2026-02-25 16:25:40 +00:00
c98db7bc0b enabled silentsddm again since sddm works again :333333 2026-02-24 17:00:42 +00:00
8252c59090 fixed outer gap and added waybar config for mango :3 2026-02-24 16:59:56 +00:00
6ba376e1f5 fixed sddm hanging 2026-02-24 14:42:28 +00:00
5ce35d8d36 didnt need gnused, it was bc i was not passing my path to the portals 2026-02-24 04:11:26 +00:00
0555ad18cd fixed file picker not starting in mangowc 2026-02-24 04:08:02 +00:00
e24b63b26c fixed file saving not working 2026-02-24 00:26:10 +00:00
7434f51a16 added even more mangowc stuff!!! :3333333 2026-02-24 00:25:39 +00:00
79af2ce80f added alacritty, foot doesnt support dynamic themeing :c 2026-02-23 19:33:14 +00:00
cf5b772204 fixed more mangowc stuff :3 2026-02-23 16:10:30 +00:00
7d982c7ccc attempting to fix home assistant 2026-02-22 20:04:05 +00:00
fb2e2ee66b added wip mangowc config 2026-02-22 18:31:08 +00:00
68cf02e366 butterfly was right, foot is better :3 2026-02-22 02:38:15 +00:00
a354fca7f5 ohmygod comment.nvim is amazing <3 2026-02-22 00:47:01 +00:00
480b7a1ef2 i accidentally typed L instead of l 2026-02-22 00:34:49 +00:00
34 changed files with 746 additions and 287 deletions

151
flake.lock generated
View file

@ -383,6 +383,24 @@
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib_2" "nixpkgs-lib": "nixpkgs-lib_2"
}, },
"locked": {
"lastModified": 1749398372,
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_3"
},
"locked": { "locked": {
"lastModified": 1769996383, "lastModified": 1769996383,
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
@ -587,7 +605,9 @@
"hyprutils": "hyprutils", "hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner", "hyprwayland-scanner": "hyprwayland-scanner",
"hyprwire": "hyprwire", "hyprwire": "hyprwire",
"nixpkgs": "nixpkgs_4", "nixpkgs": [
"nixpkgs-unstable"
],
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_3", "systems": "systems_3",
"xdph": "xdph" "xdph": "xdph"
@ -873,7 +893,7 @@
"crane": "crane", "crane": "crane",
"fenix": "fenix", "fenix": "fenix",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1768868561, "lastModified": 1768868561,
@ -974,6 +994,28 @@
"type": "github" "type": "github"
} }
}, },
"mango": {
"inputs": {
"flake-parts": "flake-parts_3",
"nixpkgs": [
"nixpkgs-unstable"
],
"scenefx": "scenefx"
},
"locked": {
"lastModified": 1771732288,
"narHash": "sha256-N1H7LMWXYNn7zN9ghp4vHlBs4O/Rw/+ZEoPUpm9ozw4=",
"owner": "DreamMaoMao",
"repo": "mangowc",
"rev": "6b2d694b234cae9876eb81e27991439eb51860f1",
"type": "github"
},
"original": {
"owner": "DreamMaoMao",
"repo": "mangowc",
"type": "github"
}
},
"microvm": { "microvm": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1032,7 +1074,7 @@
"minhook-src": "minhook-src", "minhook-src": "minhook-src",
"mini-src": "mini-src", "mini-src": "mini-src",
"minizip-src": "minizip-src", "minizip-src": "minizip-src",
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_5",
"re2-src": "re2-src", "re2-src": "re2-src",
"websocketpp-src": "websocketpp-src", "websocketpp-src": "websocketpp-src",
"zlib-src": "zlib-src" "zlib-src": "zlib-src"
@ -1125,7 +1167,7 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat_5", "flake-compat": "flake-compat_5",
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_6"
}, },
"locked": { "locked": {
"lastModified": 1771150922, "lastModified": 1771150922,
@ -1228,8 +1270,8 @@
"nixcord": { "nixcord": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_6", "flake-compat": "flake-compat_6",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_4",
"nixpkgs": "nixpkgs_8" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1771375681, "lastModified": 1771375681,
@ -1277,6 +1319,21 @@
} }
}, },
"nixpkgs-lib_2": { "nixpkgs-lib_2": {
"locked": {
"lastModified": 1748740939,
"narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "656a64127e9d791a334452c6b6606d17539476e2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-lib_3": {
"locked": { "locked": {
"lastModified": 1769909678, "lastModified": 1769909678,
"narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=", "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
@ -1339,22 +1396,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_10": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1771309086, "lastModified": 1771309086,
@ -1388,22 +1429,6 @@
} }
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": {
"lastModified": 1766070988,
"narHash": "sha256-G/WVghka6c4bAzMhTwT2vjLccg/awmHkdKSd2JrycLc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c6245e83d836d0433170a16eb185cefe0572f8b8",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1760284886, "lastModified": 1760284886,
"narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=", "narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=",
@ -1419,7 +1444,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1770115704, "lastModified": 1770115704,
"narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=", "narHash": "sha256-KHFT9UWOF2yRPlAnSXQJh6uVcgNcWlFqqiAZ7OVlHNc=",
@ -1435,7 +1460,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_7": { "nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1771008912, "lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=", "narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
@ -1451,7 +1476,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_8": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1770617025, "lastModified": 1770617025,
"narHash": "sha256-1jZvgZoAagZZB6NwGRv2T2ezPy+X6EFDsJm+YSlsvEs=", "narHash": "sha256-1jZvgZoAagZZB6NwGRv2T2ezPy+X6EFDsJm+YSlsvEs=",
@ -1467,7 +1492,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_9": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1771208521, "lastModified": 1771208521,
"narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=", "narHash": "sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU=",
@ -1483,6 +1508,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_9": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nt": { "nt": {
"inputs": { "inputs": {
"nix-unit": "nix-unit", "nix-unit": "nix-unit",
@ -1552,12 +1593,13 @@
"hyprland-git": "hyprland-git", "hyprland-git": "hyprland-git",
"hyprland-plugins": "hyprland-plugins", "hyprland-plugins": "hyprland-plugins",
"iamb": "iamb", "iamb": "iamb",
"mango": "mango",
"microvm": "microvm_2", "microvm": "microvm_2",
"millennium": "millennium", "millennium": "millennium",
"nix-alien": "nix-alien", "nix-alien": "nix-alien",
"nixcats": "nixcats", "nixcats": "nixcats",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixpkgs": "nixpkgs_9", "nixpkgs": "nixpkgs_8",
"nixpkgs-master": "nixpkgs-master", "nixpkgs-master": "nixpkgs-master",
"nixpkgs-staging": "nixpkgs-staging", "nixpkgs-staging": "nixpkgs-staging",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
@ -1605,6 +1647,27 @@
"type": "github" "type": "github"
} }
}, },
"scenefx": {
"inputs": {
"nixpkgs": [
"mango",
"nixpkgs"
]
},
"locked": {
"lastModified": 1750785057,
"narHash": "sha256-tGX6j4W91rcb+glXJo43sjPI9zQvPotonknG1BdihR4=",
"owner": "wlrfx",
"repo": "scenefx",
"rev": "3a6cfb12e4ba97b43326357d14f7b3e40897adfc",
"type": "github"
},
"original": {
"owner": "wlrfx",
"repo": "scenefx",
"type": "github"
}
},
"sddm-silent": { "sddm-silent": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -1857,7 +1920,7 @@
"zen": { "zen": {
"inputs": { "inputs": {
"home-manager": "home-manager_3", "home-manager": "home-manager_3",
"nixpkgs": "nixpkgs_10" "nixpkgs": "nixpkgs_9"
}, },
"locked": { "locked": {
"lastModified": 1771381854, "lastModified": 1771381854,

View file

@ -37,14 +37,21 @@
# wm/de/apps/theming flakes # wm/de/apps/theming flakes
hyprland-git = { hyprland-git = {
# pinned rev because color management is broken on hyprland
url = "github:hyprwm/Hyprland/25250527793eb04bb60f103abe7f06370b9f6e1c"; url = "github:hyprwm/Hyprland/25250527793eb04bb60f103abe7f06370b9f6e1c";
#url = "github:hyprwm/Hyprland"; #url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs-unstable";
}; };
hyprland-plugins = { hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins"; url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland-git"; inputs.hyprland.follows = "hyprland-git";
}; };
mango = {
url = "github:DreamMaoMao/mangowc";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
nixcats.url = "github:BirdeeHub/nixCats-nvim"; nixcats.url = "github:BirdeeHub/nixCats-nvim";
awww.url = "git+https://codeberg.org/LGFae/awww"; awww.url = "git+https://codeberg.org/LGFae/awww";
zen.url = "github:0xc000022070/zen-browser-flake"; zen.url = "github:0xc000022070/zen-browser-flake";

View file

@ -1,12 +1,14 @@
# aurora's configgg!! :333 # aurora's configgg!! :333
# trans <3 # trans <3
{ {
config,
inputs, inputs,
upkgs, upkgs,
root, root,
system, system,
... ...
}: { }:
{
imports = [ imports = [
inputs.zen.homeModules.twilight inputs.zen.homeModules.twilight
@ -26,6 +28,7 @@
../modules/shell/fastfetch/fastfetch.nix ../modules/shell/fastfetch/fastfetch.nix
../modules/wm/hyprland/hyprland.nix ../modules/wm/hyprland/hyprland.nix
../modules/wm/mango/default.nix
../modules/wm/river.nix ../modules/wm/river.nix
../modules/wm/sway.nix ../modules/wm/sway.nix
@ -39,6 +42,8 @@
]; ];
home.sessionVariables = { home.sessionVariables = {
EDITOR = "avix";
# xdg session variables # xdg session variables
XDG_CACHE_HOME = "$HOME/.cache"; XDG_CACHE_HOME = "$HOME/.cache";
XDG_CONFIG_HOME = "$HOME/.config"; XDG_CONFIG_HOME = "$HOME/.config";
@ -64,7 +69,8 @@
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
home.file.".mozilla/native-messaging-hosts/tridactyl.json".source = "${upkgs.tridactyl-native}/lib/mozilla/native-messaging-hosts/tridactyl.json"; home.file.".mozilla/native-messaging-hosts/tridactyl.json".source =
"${upkgs.tridactyl-native}/lib/mozilla/native-messaging-hosts/tridactyl.json";
# some packages are enabled from their own module in ./modules # some packages are enabled from their own module in ./modules
home.packages = with upkgs; [ home.packages = with upkgs; [
@ -267,27 +273,41 @@
]; ];
}; };
kitty = { foot = {
enable = true; enable = true;
package = upkgs.kitty;
font = {
name = "DepartureMono Nerd Font Mono";
size = 10;
};
settings = { settings = {
scrollback_lines = 16384; main = {
enable_audio_bell = false; font = "DepartureMono Nerd Font Mono:size=10";
update_check_interval = 0; include = "/home/${config.home.username}/.config/foot/theme.ini";
allow_remote_control = "yes"; # used for scripts to control kitty };
scrollback = {
confirm_os_window_close = 0; # disable close window prompt lines = 131072;
};
bell = {
system = "no";
urgent = "no";
notify = "no";
visual = "no";
};
};
}; };
extraConfig = '' alacritty = {
include ~/.config/kitty/theme.conf enable = true;
''; package = upkgs.alacritty-graphics;
settings = {
general.import = [
"theme.toml"
];
font = {
normal.family = "DepartureMono Nerd Font Mono";
size = 10;
};
scrolling.history = 100000;
mouse.hide_when_typing = true;
};
}; };
zen-browser = { zen-browser = {

0
homes/aurora/profile.png Normal file
View file

View file

@ -14,6 +14,11 @@
"hyprland/workspaces" = { "hyprland/workspaces" = {
format = "{id}"; format = "{id}";
}; };
"ext/workspaces" = { # not enabled yet, hyprland and mango need two different configs ;-;
format = "{id}";
ignore-hidden = true;
on-click = "activate";
};
"wlr/taskbar" = { "wlr/taskbar" = {
format = "{icon}"; format = "{icon}";
icon-size = 12; icon-size = 12;
@ -84,11 +89,6 @@
# fixes spotify not showing up when "close button should minimize the Spotify window" is false # fixes spotify not showing up when "close button should minimize the Spotify window" is false
show-passive-items = true; show-passive-items = true;
}; };
# i only enable this for debugging of window rules lol
"hyprland/window" = {
format = "{class} | {title}";
};
}; };
}; };

View file

@ -7,4 +7,4 @@ enabled = true
show_message = false show_message = false
[image_preview] [image_preview]
protocol.type = "kitty" protocol.type = "sixel"

View file

@ -12,6 +12,11 @@ local uv = vim.loop
local colorscheme_filepath = "/home/aurora/.cache/nvim/neovim-colors" local colorscheme_filepath = "/home/aurora/.cache/nvim/neovim-colors"
local colors = {} local colors = {}
vim.keymap.set('n', '<A-h>', function() vim.cmd('wincmd h') end)
vim.keymap.set('n', '<A-j>', function() vim.cmd('wincmd j') end)
vim.keymap.set('n', '<A-k>', function() vim.cmd('wincmd k') end)
vim.keymap.set('n', '<A-l>', function() vim.cmd('wincmd l') end)
-- function to load colors -- function to load colors
local function load_colors() local function load_colors()
local new_colors = {} local new_colors = {}

View file

@ -15,7 +15,22 @@ return {
blink.setup({ blink.setup({
keymap = { keymap = {
preset = "default", ["<C-space>"] = { "show", "show_documentation", "hide_documentation" },
["<C-e>"] = { "hide", "fallback" },
["<C-y>"] = { "select_and_accept", "fallback" },
["<C-k>"] = { "select_prev", "fallback_to_mappings" },
["<C-j>"] = { "select_next", "fallback_to_mappings" },
["<Up>"] = { "select_prev", "fallback" },
["<Down>"] = { "select_next", "fallback" },
["<C-b>"] = { "scroll_documentation_up", "fallback" },
["<C-f>"] = { "scroll_documentation_down", "fallback" },
["<Tab>"] = { "snippet_forward", "fallback" },
["<S-Tab>"] = { "snippet_backward", "fallback" },
["<C-S-k>"] = { "show_signature", "hide_signature", "fallback" },
}, },
appearance = { appearance = {

View file

@ -1,5 +1,5 @@
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("FileType", {
pattern = "lua", pattern = { "lua", "nix", "gleam" },
callback = function() callback = function()
vim.opt_local.shiftwidth = 2 vim.opt_local.shiftwidth = 2
vim.opt_local.tabstop = 2 vim.opt_local.tabstop = 2
@ -7,11 +7,14 @@ vim.api.nvim_create_autocmd("FileType", {
end, end,
}) })
vim.api.nvim_create_autocmd("FileType", { vim.api.nvim_create_autocmd("User", {
pattern = "nix", pattern = "TelescopePreviewerLoaded",
callback = function() callback = function(args)
vim.opt_local.shiftwidth = 2 local ft = args.data.filetype
vim.opt_local.tabstop = 2 if vim.tbl_contains({ "lua", "nix", "gleam", "rust" }, ft) then
vim.opt_local.expandtab = true vim.bo.shiftwidth = 2
vim.bo.tabstop = 2
vim.bo.expandtab = true
end
end, end,
}) })

View file

@ -84,6 +84,10 @@ servers.jdtls = {
}, },
} }
servers.protols = {
settings = {},
}
-- Taken from nixCats example: -- Taken from nixCats example:
-- If you were to comment out this autocommand -- If you were to comment out this autocommand
-- and instead pass the on attach function directly to -- and instead pass the on attach function directly to

View file

@ -8,13 +8,13 @@ return {
line = "<leader>cc", line = "<leader>cc",
block = "<leader>bc", block = "<leader>bc",
}, },
opLeader = { opleader = {
line = "<leader>c", line = "<leader>c",
block = "<leader>b", block = "<leader>b",
}, },
extra = { extra = {
above = "<leader>c0", above = "<leader>c<S-o>",
below = "<leader>bo", below = "<leader>co",
eol = "<leader>cA", eol = "<leader>cA",
}, },
}) })

View file

@ -11,10 +11,11 @@ return {
conform.setup({ conform.setup({
formatters_by_ft = { formatters_by_ft = {
lua = nixCats("lang.lua.format") and { "stylua" } or nil, lua = nixCats("lang.lua") and { "stylua" } or nil,
nix = nixCats("lang.nix.format") and { "nixfmt" } or nil, nix = nixCats("lang.nix") and { "nixfmt" } or nil,
rust = nixCats("lang.rust.format") and { "rustfmt", lsp_format = "fallback" } or nil, rust = nixCats("lang.rust") and { "rustfmt", lsp_format = "fallback" } or nil,
haskell = nixCats("lang.haskell.format") and { "ormolu" } or nil, haskell = nixCats("lang.haskell") and { "ormolu" } or nil,
proto = nixCats("lang.protobuf") and { "buf" } or nil,
}, },
format_on_save = { format_on_save = {
timeout_ms = 500, timeout_ms = 500,

View file

@ -59,24 +59,20 @@ in
tree-sitter tree-sitter
]; ];
lang = { lang = {
lua = { lua = [
lsp = [ lua-language-server ]; lua-language-server
format = [ stylua ]; stylua
}; ];
nix = { nix = [
lsp = [
nil nil
nix-doc # TODO: i forgot what this is for nix-doc # TODO: i forgot what this is for
nixfmt
]; ];
format = [ nixfmt ]; rust = [
};
rust = {
lsp = [
cargo cargo
mpkgs.rust-analyzer mpkgs.rust-analyzer
rustfmt
]; ];
format = [ rustfmt ];
};
zig = [ zig = [
spkgs.zls # FIX: using spkgs version as zls is broken rn ;-; spkgs.zls # FIX: using spkgs version as zls is broken rn ;-;
]; ];
@ -86,15 +82,19 @@ in
gleam = [ gleam = [
gleam gleam
]; ];
haskell = { haskell = [
lsp = [ haskell-language-server ]; haskell-language-server
format = [ ormolu ]; ormolu
}; ];
java = [ java = [
jdt-language-server jdt-language-server
javaPackages.compiler.openjdk17 javaPackages.compiler.openjdk17
javaPackages.compiler.openjdk21 javaPackages.compiler.openjdk21
]; ];
protobuf = [
protols
buf
];
}; };
}; };
@ -188,11 +188,7 @@ in
}; };
}; };
extraWrapperArgs = { extraWrapperArgs = { };
test = [
''--set CATTESTVAR2 "It worked again!"''
];
};
# lists of the functions you would have passed to # lists of the functions you would have passed to
# python.withPackages or lua.withPackages # python.withPackages or lua.withPackages
@ -200,13 +196,9 @@ in
# in your lua config via # in your lua config via
# vim.g.python3_host_prog # vim.g.python3_host_prog
# or run from nvim terminal via :!<packagename>-python3 # or run from nvim terminal via :!<packagename>-python3
extraPython3Packages = { extraPython3Packages = { };
test = _: [ ];
};
# populates $LUA_PATH and $LUA_CPATH # populates $LUA_PATH and $LUA_CPATH
extraLuaPackages = { extraLuaPackages = { };
test = [ (_: [ ]) ];
};
}; };
# see :help nixCats.flake.outputs.packageDefinitions # see :help nixCats.flake.outputs.packageDefinitions
@ -223,12 +215,10 @@ in
# IMPORTANT: # IMPORTANT:
# your alias may not conflict with your other packages. # your alias may not conflict with your other packages.
aliases = [ aliases = [
"auroravim"
"auravim" "auravim"
"foxyvim" "foxyvim"
"avix" "avix"
"fvix" "fvix"
"auim"
]; ];
}; };
# and a set of categories that you want # and a set of categories that you want
@ -247,26 +237,15 @@ in
comment = true; comment = true;
lang = { lang = {
lua = { lua = true;
lsp = true; nix = true;
format = true; rust = true;
};
nix = {
lsp = true;
format = true;
};
rust = {
lsp = true;
format = true;
};
zig = true; zig = true;
elixir = true; elixir = true;
gleam = true; gleam = true;
haskell = { haskell = true;
lsp = true;
format = true;
};
java = true; java = true;
protobuf = true;
}; };
}; };
}; };

View file

@ -1,4 +1,5 @@
{inputs, ...}: { { inputs, ... }:
{
imports = [ imports = [
inputs.nixcord.homeModules.nixcord inputs.nixcord.homeModules.nixcord
]; ];
@ -157,7 +158,6 @@
"1436964273162289185" "1436964273162289185"
"1436988320474206311" "1436988320474206311"
"1449837047383855119" "1449837047383855119"
"1436965652861685891"
"1436968495190642722" "1436968495190642722"
"1465424321919975454" "1465424321919975454"
"1468324280445046824" "1468324280445046824"
@ -202,6 +202,7 @@
"1419557866502754334" "1419557866502754334"
"1436985041203892315" "1436985041203892315"
"1438071327515742229" "1438071327515742229"
"1436965652861685891"
]; ];
} }
{ {
@ -247,4 +248,8 @@
]; ];
}; };
}; };
programs.nixcord.config.plugins.bypassStatus = {
enable = true;
};
} }

View file

@ -1,4 +1,5 @@
{upkgs, ...}: { { upkgs, ... }:
{
# optional dependencies can be found here: # optional dependencies can be found here:
# https://yazi-rs.github.io/docs/installation/ # https://yazi-rs.github.io/docs/installation/
home.packages = with upkgs; [ home.packages = with upkgs; [
@ -170,7 +171,7 @@
[filechooser] [filechooser]
cmd=${upkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh cmd=${upkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh
default_dir=$HOME default_dir=$HOME
env=TERMCMD='kitty --title filechooser' env=TERMCMD='alacritty --title filechooser -e '
open_mode=suggested open_mode=suggested
save_mode=last save_mode=last
''; '';

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
pkill -f "kitty --title btop -e btop" || { kitty --title btop -e btop & disown; } pkill -f "alacritty --title btop -e btop" || { alacritty --title btop -e btop & disown; }

View file

@ -65,9 +65,6 @@
# upgrades the system # upgrades the system
upgrade = "cdns && nix flake update && nh os switch ./ --accept-flake-config"; upgrade = "cdns && nix flake update && nh os switch ./ --accept-flake-config";
# kitty's ssh command (to fix xterm and other stuff qwq)
kssh = "kitty +kitten ssh";
# pipes are prettyyyy!!!! :3333 # pipes are prettyyyy!!!! :3333
pipes1 = "pipes.sh -r 1024 -p 8 -f 30"; pipes1 = "pipes.sh -r 1024 -p 8 -f 30";
pipes2 = "pipes.sh -r 4096 -p 16 -f 100"; pipes2 = "pipes.sh -r 4096 -p 16 -f 100";

View file

@ -0,0 +1,27 @@
[colors.primary]
background = '{{ background }}'
foreground = '{{ foreground }}'
[colors.cursor]
cursor = '{{ cursor }}'
text = '{{ cursor }}'
[colors.normal]
black = '{{ color0 }}'
red = '{{ color1 }}'
green = '{{ color2 }}'
yellow = '{{ color3 }}'
blue = '{{ color4 }}'
magenta = '{{ color5 }}'
cyan = '{{ color6 }}'
white = '{{ color7 }}'
[colors.bright]
black = '{{ color8 }}'
red = '{{ color9 }}'
green = '{{ color10 }}'
yellow = '{{ color11 }}'
blue = '{{ color12 }}'
magenta = '{{ color13 }}'
cyan = '{{ color14 }}'
white = '{{ color15 }}'

View file

@ -0,0 +1,24 @@
[colors]
alpha=1.000000
alpha-mode=default
background={{ background | strip }}
foreground={{ foreground | strip }}
selection-background={{ foreground | strip }}
selection-foreground={{ background | strip }}
regular0={{ color0 | strip }}
regular1={{ color1 | strip }}
regular2={{ color2 | strip }}
regular3={{ color3 | strip }}
regular4={{ color4 | strip }}
regular5={{ color5 | strip }}
regular6={{ color6 | strip }}
regular7={{ color7 | strip }}
bright0={{ color8 | strip }}
bright1={{ color9 | strip }}
bright2={{ color10 | strip }}
bright3={{ color11 | strip }}
bright4={{ color12 | strip }}
bright5={{ color13 | strip }}
bright6={{ color14 | strip }}
bright7={{ color15 | strip }}
urls={{ color13 | strip }}

View file

@ -0,0 +1,11 @@
# background color of the root window
rootcolor=0x{{ color12 | strip }}ff
# inactive window border
bordercolor=0x{{ color0 | strip }}ff
# active window border
focuscolor=0x{{ color14 | strip }}ff
# urgent / alerted window border
urgentcolor=0x{{ color10 | strip }}ff

View file

@ -13,12 +13,18 @@ equibop.target = "~/.config/equibop/themes/base16-colors.css"
equicord.template = "discord-template.css" equicord.template = "discord-template.css"
equicord.target = "~/.config/Equicord/themes/base16-colors.css" equicord.target = "~/.config/Equicord/themes/base16-colors.css"
kitty.template = "kitty-template.conf"
kitty.target = "~/.config/kitty/theme.conf"
hyprland.template = "hyprland-template.conf" hyprland.template = "hyprland-template.conf"
hyprland.target = "~/.config/hypr/colors.conf" hyprland.target = "~/.config/hypr/colors.conf"
mango.template = "mango-template.conf"
mango.target = "~/.config/mango/colors.conf"
foot.template = "foot-template.ini"
foot.target = "~/.config/foot/theme.ini"
alacritty.template = "alacritty-template.toml"
alacritty.target = "~/.config/alacritty/theme.toml"
waybar.template = "waybar-template.css" waybar.template = "waybar-template.css"
waybar.target = "~/.config/waybar/colors.css" waybar.target = "~/.config/waybar/colors.css"

View file

@ -1,10 +1,19 @@
# window rules # window rules
# ---------------------------------------------------------------------------- #
# terminal - blur
windowrule {
name = terminal-blur
match:class = ^(foot|Alacritty)$
match:fullscreen = false
opacity = 0.95
}
# ---------------------------------------------------------------------------- # # ---------------------------------------------------------------------------- #
# task manager # task manager
windowrule { windowrule {
name = task-manager name = terminal-manager
match:class = ^(kitty)$ match:class = ^(foot|Alacritty)$
match:title = ^(btop)$ match:title = ^(btop)$
float = true float = true
center = true center = true
@ -15,33 +24,13 @@ windowrule {
# terminal filechooser # terminal filechooser
windowrule { windowrule {
name = terminal-filechooser name = terminal-filechooser
match:class = ^(kitty)$ match:class = ^(foot|Alacritty)$
match:title = ^(filechooser)$ match:title = ^(filechooser)$
float = true float = true
center = true center = true
size = (monitor_w*0.85) (monitor_h*0.85) size = (monitor_w*0.85) (monitor_h*0.85)
} }
# ---------------------------------------------------------------------------- #
# yazi explorer
#windowrule {
#name = yazi
#match:class = ^(kitty)$
#match:title = ^(yazi)$
#float = true
#center = true
#size = (monitor_w*0.85) (monitor_h*0.85)
#}
# ---------------------------------------------------------------------------- #
# kitty - blur
windowrule {
name = kitty-blur
match:class = ^(kitty)$
match:fullscreen = false
opacity = 0.95
}
# ---------------------------------------------------------------------------- # # ---------------------------------------------------------------------------- #
# imhex - blur # imhex - blur
windowrule { windowrule {

View file

@ -1,4 +1,5 @@
{...}: { { ... }:
{
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = null; package = null;
@ -23,8 +24,8 @@
"$mod" = "SUPER"; "$mod" = "SUPER";
# applications # applications
"$terminal" = "kitty"; "$terminal" = "alacritty";
"$explorer" = "kitty -e yazi"; "$explorer" = "alacritty -e yazi";
"$browser" = "zen-twilight"; "$browser" = "zen-twilight";
# menu # menu
@ -130,6 +131,13 @@
"alt, tab, exec, pkill -x rofi || rofi -modi window -show window -show-icons" "alt, tab, exec, pkill -x rofi || rofi -modi window -show window -show-icons"
"$mod, v, exec, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy" "$mod, v, exec, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy"
# manage windows / session
"$mod+alt, c, killactive"
"$mod, f, fullscreen"
"$mod, x, togglefloating"
"$mod, i, togglesplit"
"$mod+Alt, Delete, exit" # exit hyprland
# screenshots # screenshots
# todo: add active monitor # todo: add active monitor
"$mod, s, exec, grim -g \"\$(slurp -d)\" - | wl-copy" # region "$mod, s, exec, grim -g \"\$(slurp -d)\" - | wl-copy" # region
@ -152,13 +160,6 @@
"Shift_R, XF86AudioPlay, exec, playerctl shuffle toggle" "Shift_R, XF86AudioPlay, exec, playerctl shuffle toggle"
"Shift_R, XF86AudioNext, exec, playerctl loop track" "Shift_R, XF86AudioNext, exec, playerctl loop track"
# manage windows / session
"$mod+alt, c, killactive"
"$mod, f, fullscreen"
"$mod, x, togglefloating"
"$mod, i, togglesplit"
"$mod+Alt, Delete, exit" # exit hyprland
# move focus # move focus
"$mod, h, movefocus, l" "$mod, h, movefocus, l"
"$mod, j, movefocus, d" "$mod, j, movefocus, d"
@ -290,14 +291,17 @@
]; ];
env = [ env = [
"EDITOR,auravim"
"XCURSOR_THEME,Bunny (Icy) and Strawberries" "XCURSOR_THEME,Bunny (Icy) and Strawberries"
"XCURSOR_SIZE,24" "XCURSOR_SIZE,24"
"HYPRCURSOR_THEME,Bunny (Icy) and Strawberries" "HYPRCURSOR_THEME,Bunny (Icy) and Strawberries"
"HYPRCURSOR_SIZE,24" "HYPRCURSOR_SIZE,24"
"QT_QPA_PLATFORM,wayland" "QT_QPA_PLATFORM,wayland"
# makes portals work correctly
"QT_QPA_PLATFORMTHEME,xdgdesktopportal"
# the other option that might work :3
#"QT_QPA_PLATFORMTHEME,flatpak"
]; ];
}; };
}; };

View file

@ -0,0 +1,7 @@
# ---------------------------------------------------------------------------- #
# i don't wanna minimise windows
windowrule = ignore_minimise
# ---------------------------------------------------------------------------- #
# terminal - blur
windowrule = appid:^(foot|Alacritty)$, focused_opacity:0.95, unfocused_opacity:0.95

View file

@ -0,0 +1,15 @@
{ inputs, ... }:
{
imports = [
inputs.mango.hmModules.mango
];
wayland.windowManager.mango = {
enable = true;
};
xdg.configFile."mango" = {
recursive = true;
source = ./mango;
};
}

View file

@ -0,0 +1,245 @@
################################################################################
##### Monitors /////////////////////////////////////////////////////////////////
################################################################################
# note: display stream compression pending for open source
# amd gpu driver and my monitor (VG279QM) only supports DP 1.2
# so no >240hz atm
# main monitor
monitorrule = name:DP-2,width:1920,height:1080,refresh:240,x:0,y:0
# second monitor
monitorrule = name:DP-3,width:1920,height:1080,refresh:144,x:1920,y:0
# third monitor (drawing tablet)
monitorrule = name:HDMI-A-2,width:2560,height:1440,refresh:60,x:3840,y:0
# tv
monitorrule = name:HDMI-A-1,width:1920,height:1080,refresh:60,x:-1920,y:0
################################################################################
##### Startup //////////////////////////////////////////////////////////////////
################################################################################
exec-once = waybar
exec-once = waybar --config ~/.config/mango/waybar.jsonc
exec-once = awww-daemon
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = wl-clip-persist --clipboard regular
exec-once = playerctld daemon
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=wlroots PATH
################################################################################
##### Themeing /////////////////////////////////////////////////////////////////
################################################################################
borderpx = 2
gappih = 5 # inner gap horizontal
gappiv = 5 # inner gap vertical
gappoh = 10 # outer gap horizontal
# we set the bottom vertical gap by using an empty layer that defines an exclusive zone
gappov = 0 # outer gap vertical
border_radius = 8
focused_opacity = 1.0
unfocused_opacity = 1.0
blur = 1
blur_layer = 1
blur_optimized = 1
blur_params_radius = 6
blur_params_num_passes = 2
blur_params_noise = 0.02
blur_params_brightness = 0.9
blur_params_contrast = 0.9
blur_params_saturation = 1.2
cursor_size=24
cursor_theme=Bunny (Icy) and Strawberries
################################################################################
##### Animations ///////////////////////////////////////////////////////////////
################################################################################
animations=1
layer_animations=1
################################################################################
##### Input ////////////////////////////////////////////////////////////////////
################################################################################
# keyboard stuff
repeat_rate = 50
repeat_delay = 300
# mouse stuff
accel_profile = 0
################################################################################
##### Keybinds /////////////////////////////////////////////////////////////////
################################################################################
# applications
bind = SUPER, t, spawn, alacritty
bind = SUPER, e, spawn, alacritty -e yazi
bind = SUPER, r, spawn, zen-twilight
# rofi
bind = SUPER, d, spawn_shell, pkill -x rofi || rofi -show drun -show-icons
bind = SUPER, v, spawn_shell, pkill -x rofi || cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind = ALT, TAB, spawn_shell, pkill -x rofi || rofi -modi window -show window -show-icons
# manage session
bind = SUPER+ALT, c, killclient
bind = SUPER+SHIFT, r, reload_config
bind = SUPER+ALT, delete, quit
# screenshots
# grim - | wl-copy
bind = SUPER, s, spawn_shell, grim -g $(slurp -d) - | wl-copy
bind = SUPER+ALT, s, spawn_shell, grim -g $(slurp -o) - | wl-copy
bind = SUPER+CTRL, s, spawn_shell, grim - | wl-copy
# task manager
bind = SUPER+CTRL, escape, spawn, task-manager.sh
bind = SUPER+CTRL, grave, spawn, task-manager.sh
# color picker
bind = SUPER, n, spawn, hyprpicker -v
# lock screen
bind = SUPER+ALT, y, spawn, hyprlock
# media keybinds
bind = NONE, XF86AudioMute, spawn, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = NONE, XF86AudioPlay, spawn, playerctl play-pause
bind = NONE, XF86AudioNext, spawn, playerctl next
bind = NONE, XF86AudioPrev, spawn, playerctl previous
# needs to be `bind` for some reason, doesn't work otherwise
# if all of them are `bind` and not `binds`, it also doesn't work
# weird bug!! qwq
binds = Shift_R, XF86AudioPlay, spawn_shell, playerctl shuffle toggle
binds = Shift_R, XF86AudioNext, spawn, playerctl loop track
bind = NONE, XF86AudioRaiseVolume, spawn, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
bind = NONE, XF86AudioLowerVolume, spawn, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
binds = Shift_R, XF86AudioRaiseVolume, spawn, playerctl volume 0.05+
binds = Shift_R, XF86AudioLowerVolume, spawn, playerctl volume 0.05-
# window states
bind = SUPER, f, togglefullscreen
bind = SUPER+ALT, f, togglefakefullscreen
bind = SUPER, x, togglefloating
# layouts
bind = SUPER, u, switch_layout
# move focus - l/d/u/r
bind = SUPER, h, focusdir, left
bind = SUPER, j, focusdir, down
bind = SUPER, k, focusdir, up
bind = SUPER, l, focusdir, right
# move focus - stack
bind = SUPER+SHIFT, j, focusstack, next
bind = SUPER+SHIFT, k, focusstack, prev
# swap window - l/d/u/r
bind = SUPER+ALT, h, exchange_client, left
bind = SUPER+ALT, j, exchange_client, down
bind = SUPER+ALT, k, exchange_client, up
bind = SUPER+ALT, l, exchange_client, right
# swap window - stack
bind = SUPER+SHIFT, h, exchange_stack_client, next
bind = SUPER+SHIFT, l, exchange_stack_client, prev
# swap focused window with master
bind = SUPER, g, zoom
# view tag
BIND = SUPER, 1, view, 1, 0
BIND = SUPER, 2, view, 2, 0
BIND = SUPER, 3, view, 3, 0
BIND = SUPER, 4, view, 4, 0
BIND = SUPER, 5, view, 5, 0
BIND = SUPER, 6, view, 6, 0
BIND = SUPER, 7, view, 7, 0
BIND = SUPER, 8, view, 8, 0
BIND = SUPER, 9, view, 9, 0
BIND = SUPER, 0, view, 10, 0
BIND = SUPER, minus, view, 11, 0
BIND = SUPER, equal, view, 12, 0
# toggle tag on monitor
BIND = SUPER+ALT, 1, toggletag, 1, 0
BIND = SUPER+ALT, 2, toggletag, 2, 0
BIND = SUPER+ALT, 3, toggletag, 3, 0
BIND = SUPER+ALT, 4, toggletag, 4, 0
BIND = SUPER+ALT, 5, toggletag, 5, 0
BIND = SUPER+ALT, 6, toggletag, 6, 0
BIND = SUPER+ALT, 7, toggletag, 7, 0
BIND = SUPER+ALT, 8, toggletag, 8, 0
BIND = SUPER+ALT, 9, toggletag, 9, 0
BIND = SUPER+ALT, 0, toggletag, 10, 0
BIND = SUPER+ALT, minus, toggletag, 11, 0
BIND = SUPER+ALT, equal, toggletag, 12, 0
# move window to tag
BIND = SUPER+SHIFT, 1, tag, 1, 0
BIND = SUPER+SHIFT, 2, tag, 2, 0
BIND = SUPER+SHIFT, 3, tag, 3, 0
BIND = SUPER+SHIFT, 4, tag, 4, 0
BIND = SUPER+SHIFT, 5, tag, 5, 0
BIND = SUPER+SHIFT, 6, tag, 6, 0
BIND = SUPER+SHIFT, 7, tag, 7, 0
BIND = SUPER+SHIFT, 8, tag, 8, 0
BIND = SUPER+SHIFT, 9, tag, 9, 0
BIND = SUPER+SHIFT, 0, tag, 10, 0
BIND = SUPER+SHIFT, minus, tag, 11, 0
BIND = SUPER+SHIFT, equal, tag, 12, 0
# mouse binds :3
mousebind = SUPER, btn_left, moveresize, curmove
mousebind = SUPER, btn_right, moveresize, curresize
################################################################################
##### Miscellaneous ////////////////////////////////////////////////////////////
################################################################################
# focus follows mouse cursor
sloppyfocus = 1
# automatically focus windows when they request activiation
focus_on_activate = 1
# scroll speed
axis_scroll_factor = 1.0
# disables hotarea for overview mode
enable_hotarea = 0
################################################################################
##### Environment Variables ////////////////////////////////////////////////////
################################################################################
env = XCURSOR_THEME,Bunny (Icy) and Strawberries
env = XCURSOR_SIZE,24
################################################################################
##### Imports //////////////////////////////////////////////////////////////////
################################################################################
# windowrules!!! <3
source = ./windowrules.conf
# layerrules :3
source = ./layerrules.conf
# colors generated from palette generator
source = ./colors.conf

View file

@ -0,0 +1,3 @@
# ---------------------------------------------------------------------------- #
# slurp no blur
layerrule=noblur:1,layer_name:selection

View file

@ -0,0 +1,5 @@
{
"layer": "bottom",
"position": "bottom",
"height": 10,
}

View file

@ -0,0 +1,7 @@
# ---------------------------------------------------------------------------- #
# i don't wanna minimise windows
windowrule = ignore_minimise
# ---------------------------------------------------------------------------- #
# terminal - blur
windowrule = appid:^(foot|Alacritty)$, focused_opacity:0.95, unfocused_opacity:0.95

View file

@ -1,24 +1,29 @@
{spkgs, ...}: { { spkgs, ... }:
wayland.windowManager.river = let {
wayland.windowManager.river =
let
layout = "rivertile"; layout = "rivertile";
in { in
{
enable = true; enable = true;
xwayland.enable = true; xwayland.enable = true;
package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-; package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-;
settings = let settings =
let
main = "Super"; main = "Super";
# applications # applications
terminal = "kitty"; terminal = "alacritty";
browser = "firefox"; browser = "firefox";
in { in
{
default-layout = "${layout}"; default-layout = "${layout}";
output-layout = "${layout}"; output-layout = "${layout}";
border-width = 1; border-width = 1;
spawn = [ spawn = [
''${layout}'' "${layout}"
"awww-daemon" "awww-daemon"
"waybar" "waybar"
@ -37,7 +42,7 @@
"${main} R" = ''spawn "${browser}"''; "${main} R" = ''spawn "${browser}"'';
# move focused view to top of layout stack # move focused view to top of layout stack
"${main} N" = ''zoom''; "${main} N" = "zoom";
# focus next/previous view # focus next/previous view
"${main} J" = "focus-view previous"; "${main} J" = "focus-view previous";

View file

@ -1,9 +1,10 @@
{config, ...}: { { config, ... }:
{
wayland.windowManager.sway = { wayland.windowManager.sway = {
enable = true; enable = true;
config = rec { config = rec {
modifier = "Mod4"; # Mod4 = Super/Meta modifier = "Mod4"; # Mod4 = Super/Meta
terminal = "kitty"; terminal = "alacritty";
# disable sway bar # disable sway bar
bars = [ ]; bars = [ ];
@ -17,11 +18,13 @@
{ command = "waybar"; } { command = "waybar"; }
]; ];
keybindings = let keybindings =
let
main = config.wayland.windowManager.sway.config.modifier; main = config.wayland.windowManager.sway.config.modifier;
terminal = config.wayland.windowManager.sway.config.terminal; terminal = config.wayland.windowManager.sway.config.terminal;
browser = "firefox"; browser = "firefox";
in { in
{
"${main}+c" = "kill"; # close focused window "${main}+c" = "kill"; # close focused window
"${main}+Alt+Delete" = "exit"; # exit sway "${main}+Alt+Delete" = "exit"; # exit sway

View file

@ -84,10 +84,6 @@
environment.sessionVariables = { environment.sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
# makes portals work correctly
QT_QPA_PLATFORMTHEME = "xdgdesktopportal";
#QT_QPA_PLATFORMTHEME = "flatpak"; # sometimes might need this
}; };
xdg.portal = { xdg.portal = {
@ -236,6 +232,10 @@
portalPackage = upkgs.hyprland-git.xdg-desktop-portal-hyprland; portalPackage = upkgs.hyprland-git.xdg-desktop-portal-hyprland;
}; };
mango = {
enable = true;
};
river-classic = { river-classic = {
package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-; package = spkgs.river-classic; # FIX: using spkgs version as zls is broken rn ;-;
enable = true; enable = true;
@ -274,7 +274,7 @@
fish.enable = true; fish.enable = true;
silentSDDM = { silentSDDM = {
enable = false; enable = true;
theme = "rei"; theme = "rei";
}; };
}; };

View file

@ -24,6 +24,7 @@ cerulean.mkNexus ./. (self: {
modules = with inputs; [ modules = with inputs; [
sddm-silent.nixosModules.default sddm-silent.nixosModules.default
inputs.mango.nixosModules.mango
]; ];
}; };

View file

@ -12,6 +12,13 @@
"esphome" "esphome"
"met" "met"
"radio_browser" "radio_browser"
"hassio"
"stream"
"cast"
"plex"
"dhcp"
"go2rtc"
"mobile_app"
]; ];
extraPackages = python3Packages: with python3Packages; [ extraPackages = python3Packages: with python3Packages; [