Compare commits
No commits in common. "bb6eb4c6d2349d1392aad72f3ad950c8626e7463" and "bc96d4520616aeebbbe79a9cb26e32103a9c5ad8" have entirely different histories.
bb6eb4c6d2
...
bc96d45206
14 changed files with 3439 additions and 325 deletions
3556
flake.lock
3556
flake.lock
File diff suppressed because it is too large
Load diff
38
flake.nix
38
flake.nix
|
@ -56,35 +56,13 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
### hypr
|
||||
hyprland = {
|
||||
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
hypridle.url = "github:hyprwm/hypridle";
|
||||
hyprlock = {
|
||||
url = "github:hyprwm/hyprlock";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.hyprutils.follows = "hyprutils";
|
||||
};
|
||||
hyprpicker = {
|
||||
url = "github:hyprwm/hyprpicker";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.hyprutils.follows = "hyprutils";
|
||||
};
|
||||
hyprpaper = {
|
||||
url = "github:hyprwm/hyprpaper";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.hyprutils.follows = "hyprutils";
|
||||
};
|
||||
hyprsunset = {
|
||||
url = "github:hyprwm/hyprsunset";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.hyprutils.follows = "hyprutils";
|
||||
};
|
||||
hyprutils = {
|
||||
url = "github:hyprwm/hyprutils";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hyprlock.url = "github:hyprwm/hyprlock";
|
||||
hyprpicker.url = "github:hyprwm/hyprpicker";
|
||||
hyprpaper.url = "github:hyprwm/hyprpaper";
|
||||
hyprsunset.url = "github:hyprwm/hyprsunset";
|
||||
hyprutils.url = "github:hyprwm/hyprutils";
|
||||
xdg-portal-hyprland = {
|
||||
url = "github:hyprwm/xdg-desktop-portal-hyprland";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -124,5 +102,9 @@
|
|||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nezia-dotfiles = {
|
||||
url = "github:nezia1/flocon";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -23,7 +23,6 @@ _: {
|
|||
./ui/fidget.nix
|
||||
./ui/dashboard.nix
|
||||
./ui/toggleterm.nix
|
||||
./ui/whichkey.nix
|
||||
];
|
||||
programs.nixvim.plugins.web-devicons.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
_: {
|
||||
programs.nixvim.plugins.nvim-autopairs.enable = true;
|
||||
programs.nixvim.plugins.autoclose = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,16 +1,4 @@
|
|||
{pkgs, ...}: let
|
||||
treesitter-nu-grammar = pkgs.tree-sitter.buildGrammar {
|
||||
language = "nu";
|
||||
version = "0.0.0+rev=1561a94";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nushell";
|
||||
repo = "tree-sitter-nu";
|
||||
rev = "1561a947a5505d373e11ca337898e048ac2e389e";
|
||||
hash = "sha256-RAAMBVov4q8b8MJZVlf1qwbLK8hE5AxPK1IV9TMCrTs=";
|
||||
};
|
||||
meta.homepage = "https://github.com/nushell/tree-sitter-nu";
|
||||
};
|
||||
in {
|
||||
{pkgs, ...}: {
|
||||
programs.nixvim.plugins.treesitter = {
|
||||
enable = true;
|
||||
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
|
||||
|
@ -26,7 +14,6 @@ in {
|
|||
rust
|
||||
go
|
||||
gomod
|
||||
treesitter-nu-grammar
|
||||
];
|
||||
settings = {
|
||||
highlight.enable = true;
|
||||
|
|
|
@ -34,9 +34,6 @@ _: {
|
|||
nushell = {
|
||||
enable = true;
|
||||
};
|
||||
lua_ls = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,11 +5,8 @@
|
|||
];
|
||||
extraConfigLua = ''
|
||||
require('cord').setup {
|
||||
timer = {
|
||||
interval = 500,
|
||||
},
|
||||
editor = {
|
||||
tooltip = 'Neovim',
|
||||
tooltip = 'Neovim'
|
||||
},
|
||||
display = {
|
||||
show_time = true,
|
||||
|
|
|
@ -1,90 +0,0 @@
|
|||
_: {
|
||||
programs.nixvim.plugins.which-key = {
|
||||
enable = true;
|
||||
settings = {
|
||||
preset = "helix";
|
||||
replace = {
|
||||
desc = [
|
||||
[
|
||||
"<space>"
|
||||
"SPACE"
|
||||
]
|
||||
[
|
||||
"<leader>"
|
||||
"SPACE"
|
||||
]
|
||||
[
|
||||
"<[cC][rR]>"
|
||||
"RETURN"
|
||||
]
|
||||
[
|
||||
"<[tT][aA][bB]>"
|
||||
"TAB"
|
||||
]
|
||||
[
|
||||
"<[bB][sS]>"
|
||||
"BACKSPACE"
|
||||
]
|
||||
];
|
||||
spec = [
|
||||
{
|
||||
__unkeyed-1 = "<leader>b";
|
||||
group = "Buffers";
|
||||
icon = " ";
|
||||
}
|
||||
{
|
||||
__unkeyed = "<leader>c";
|
||||
group = "Codesnap";
|
||||
icon = " ";
|
||||
mode = "v";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>bs";
|
||||
group = "Sort";
|
||||
icon = " ";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = [
|
||||
{
|
||||
__unkeyed-1 = "<leader>f";
|
||||
group = "Normal Visual Group";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>f<tab>";
|
||||
group = "Normal Visual Group in Group";
|
||||
}
|
||||
];
|
||||
mode = [
|
||||
"n"
|
||||
"v"
|
||||
];
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>w";
|
||||
group = "windows";
|
||||
proxy = "<C-w>";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>cS";
|
||||
__unkeyed-2 = "<cmd>CodeSnapSave<CR>";
|
||||
desc = "Save";
|
||||
mode = "v";
|
||||
}
|
||||
{
|
||||
__unkeyed-1 = "<leader>db";
|
||||
__unkeyed-2 = {
|
||||
__raw = ''
|
||||
function()
|
||||
require("dap").toggle_breakpoint()
|
||||
end
|
||||
'';
|
||||
};
|
||||
desc = "Breakpoint toggle";
|
||||
mode = "n";
|
||||
silent = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -41,7 +41,7 @@
|
|||
pulse.enable = true;
|
||||
wireplumber.enable = true;
|
||||
lowLatency = {
|
||||
enable = true;
|
||||
enable = false; # disabled due to upstream issue
|
||||
quantum = 64;
|
||||
rate = 48000;
|
||||
};
|
||||
|
@ -62,6 +62,7 @@
|
|||
services.hyprlock = {};
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
gamemode.enable = true;
|
||||
appimage = {
|
||||
|
|
|
@ -10,9 +10,6 @@
|
|||
|
||||
boot = {
|
||||
kernelModules = ["kvm-amd"];
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
v4l2loopback.out
|
||||
];
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
|
@ -29,8 +26,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
hardware.wooting.enable = true;
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = "/dev/disk/by-uuid/a423d32f-ac5d-4ea2-82fb-f94b05afce29";
|
||||
|
|
|
@ -5,6 +5,5 @@
|
|||
./hydroxide.nix
|
||||
./sunshine.nix
|
||||
./wivrn.nix
|
||||
./rnnoise.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,40 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
services.pipewire.extraConfig.pipewire."00-rnnoise.conf" = {
|
||||
"context.modules" = [
|
||||
{
|
||||
"name" = "libpipewire-module-filter-chain";
|
||||
"args" = {
|
||||
"node.description" = "Noise Cancelling source";
|
||||
"media.name" = "Noise Cancelling source";
|
||||
"filter.graph" = {
|
||||
"nodes" = [
|
||||
{
|
||||
"type" = "ladspa";
|
||||
"name" = "rnnoise";
|
||||
"plugin" = "${pkgs.rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so";
|
||||
"label" = "noise_suppressor_stereo";
|
||||
"control" = {
|
||||
"VAD Threshold (%)" = 50.0;
|
||||
"VAD Grace Period (ms)" = 1000;
|
||||
"Retroactive VAD Grace (ms)" = 100;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
"audio.position" = ["FL" "FR"];
|
||||
"capture.props" = {
|
||||
"node.name" = "capture.rnnoise_source";
|
||||
"node.passive" = true;
|
||||
"audio.rate" = 48000;
|
||||
};
|
||||
"playback.props" = {
|
||||
"node.name" = "rnnoise_source";
|
||||
"media.class" = "Audio/Source";
|
||||
"media.role" = "Communication";
|
||||
"audio.rate" = 48000;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
{inputs, ...}: {
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
inputs.nur.overlays.default
|
||||
inputs.nur.overlay
|
||||
inputs.helix.overlays.default
|
||||
inputs.yazi.overlays.default
|
||||
inputs.hypridle.overlays.default
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"disk"
|
||||
"video"
|
||||
"docker"
|
||||
"input"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue