This commit is contained in:
cnst
2024-08-03 21:41:31 +02:00
parent 07958aa39d
commit 69d3761bc1
18 changed files with 168 additions and 2687 deletions

View File

@@ -1,6 +1,8 @@
# Personal nix config
Inspired by *(stolen from)* the following:
If you plan to yank anything from here, don't, go to the sources below. And remember to give credit where its due :-)
Inspired by _(stolen from)_ the following:
- [Misterio77](https://github.com/Misterio77/nix-config.git)
- [colemickens](https://github.com/colemickens/nixcfg.git)

20
flake.lock generated
View File

@@ -159,11 +159,11 @@
]
},
"locked": {
"lastModified": 1722640618,
"narHash": "sha256-zcABhEN4wv0Z6KnZGaKA/diM7aYL4rjRT9bdq1MEpi4=",
"lastModified": 1722691037,
"narHash": "sha256-JJhGg0ew5X9xDZXcfeFJvssCwuK2gBNNNNQDpxiiyQc=",
"owner": "nix-community",
"repo": "flake-firefox-nightly",
"rev": "6a744f57d756184840f59281a7da88e00b13f030",
"rev": "68f73d9684c9cf93256936de23dfc87810407b61",
"type": "github"
},
"original": {
@@ -577,11 +577,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1722633380,
"narHash": "sha256-rVyikfYJjkSB7990fLwABjrhVM4UOmci7rxYpRT/6dI=",
"lastModified": 1722686530,
"narHash": "sha256-O0KIyfR3apBJ2wttOx2LRXB7XS6ysV+1bRhMh6vU6Os=",
"ref": "refs/heads/main",
"rev": "4141e6755022edc19cd37cd7ad077a93b3bae5bd",
"revCount": 5045,
"rev": "9f5a57ff4569db57372bd86bd48add85a3a1a5e4",
"revCount": 5046,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@@ -993,11 +993,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1722531900,
"narHash": "sha256-COtoy+Y/j2QLX818mRI7BweRJOltf0bndxbps/eoH0s=",
"lastModified": 1722605918,
"narHash": "sha256-eWVY6hM2IlxRIVUgKBlPCX4pJ1Nmh3Nvw/Io2LaE0Y4=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "7c39d77b9f1fbcbd8f2a575c4f2948dd54efc5c1",
"rev": "0bc169903705c94fda7934ecc27dd9038ad5f0e9",
"type": "github"
},
"original": {

View File

@@ -1,5 +1,5 @@
{
description = "My NixOS";
description = "My (i.e. fufexan's) NixOS flake configuration";
outputs = inputs:
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
@@ -26,9 +26,18 @@
inputs = {
# Nix environs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
systems.url = "github:nix-systems/default-linux";
hardware.url = "github:nixos/nixos-hardware";
lanzaboote.url = "github:nix-community/lanzaboote";
# Sandbox wrappers for programs
# nixpak = {
# url = "github:nixpak/nixpak";
# inputs = {
# nixpkgs.follows = "nixpkgs-small";
# flake-parts.follows = "flake-parts";
# };
# };
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
@@ -64,6 +73,15 @@
url = "github:nix-community/flake-firefox-nightly";
inputs.nixpkgs.follows = "nixpkgs";
};
# Schizophrenic Firefox configuration
# schizofox = {
# url = "github:schizofox/schizofox";
# inputs = {
# nixpkgs.follows = "nixpkgs-small";
# flake-parts.follows = "flake-parts";
# nixpak.follows = "nixpak";
# };
# };
anyrun.url = "github:anyrun-org/anyrun";
# agenix = {
# url = "github:ryantm/agenix";

View File

@@ -8,7 +8,7 @@
"$menuw" = "pkill anyrun || anyrun | xargs hyprctl dispatch exec --";
"$browser" = "firefox-nightly";
"$browserinc" = "firefox-nightly --private-window";
"$ranger" = "rangerscript";
"$yazi" = "alacritty -e yazi";
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
"$mod" = "SUPER";
@@ -27,7 +27,7 @@
#bind = $mod, M, exec, hyprctl dispatch exit
#bind = $mod, E, exec, $fileManager
"$mod, E, exec, $fileManager"
"$mod SHIFT, E, exec, $ranger"
"$mod SHIFT, E, exec, $yazi"
"$mod, F, fullscreen,"
"$mod SHIFT, F, togglefloating,"
"$mod, SPACE, exec, $menu"

View File

@@ -1,3 +1,4 @@
# Yanked from fufexan
{
self,
inputs,

View File

@@ -4,10 +4,7 @@
...
}: {
imports = [
./theme/filetype.nix
./theme/icons.nix
./theme/manager.nix
./theme/status.nix
./theme
];
# general file info

View File

@@ -0,0 +1,13 @@
{
imports = [
./filetype.nix
./help.nix
./icons.nix
./input.nix
./manager.nix
./select.nix
./status.nix
./tasks.nix
./which.nix
];
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,15 @@
{
programs.yazi.theme.help = {
on = {fg = "#fe8019";};
exec = {fg = "#83a598";};
desc = {fg = "#928374";};
hovered = {
bg = "#504945";
bold = true;
};
footer = {
fg = "#3c3836";
bg = "#a89984";
};
};
}

View File

@@ -497,7 +497,7 @@
}
{
name = "*/";
text = "󰉋";
text = "";
}
];
}

View File

@@ -0,0 +1,8 @@
{
programs.yazi.theme.input = {
border = {fg = "#bdae93";};
title = {};
value = {};
selected = {reversed = true;};
};
}

View File

@@ -1,57 +1,53 @@
{
programs.yazi.theme.manager = {
cwd = {fg = "cyan";};
cwd = {fg = "#83a598";};
# Hovered
hovered = {
fg = "black";
bg = "lightblue";
fg = "#282828";
bg = "#83a598";
};
preview_hovered = {
fg = "black";
bg = "lightblue";
};
preview_hovered = {underline = true;};
# Find
find_keyword = {
fg = "yellow";
fg = "#b8bb26";
italic = true;
};
find_position = {
fg = "magenta";
fg = "#fe8019";
bg = "reset";
italic = true;
};
# Marker
marker_selected = {
fg = "lightgreen";
bg = "lightgreen";
fg = "#b8bb26";
bg = "#b8bb26";
};
marker_copied = {
fg = "lightyellow";
bg = "lightyellow";
fg = "#b8bb26";
bg = "#b8bb26";
};
marker_cut = {
fg = "lightred";
bg = "lightred";
fg = "#fb4934";
bg = "#fb4934";
};
# Tab
tab_active = {
fg = "black";
bg = "lightblue";
fg = "#282828";
bg = "#504945";
};
tab_inactive = {
fg = "white";
bg = "darkgray";
fg = "#a89984";
bg = "#3c3836";
};
tab_width = 1;
# Border;
border_symbol = "";
border_style = {fg = "gray";};
border_style = {fg = "#665c54";};
# Offset;
folder_offset = [1 0 1 0];

View File

@@ -0,0 +1,7 @@
{
programs.yazi.theme.select = {
border = {fg = "#504945";};
active = {fg = "#fe8019";};
inactive = {};
};
}

View File

@@ -1,45 +1,48 @@
{
programs.yazi.theme.status = {
separator_open = "";
separator_close = "";
separator_open = "";
separator_close = "";
separator_style = {
fg = "darkgray";
bg = "darkgray";
fg = "#3c3836";
bg = "#3c3836";
};
# Mode;
mode_normal = {
fg = "black";
bg = "lightblue";
fg = "#282828";
bg = "#A89984";
bold = true;
};
mode_select = {
fg = "black";
bg = "lightgreen";
fg = "#282828";
bg = "#b8bb26";
bold = true;
};
mode_unset = {
fg = "black";
bg = "lightmagenta";
fg = "#282828";
bg = "#d3869b";
bold = true;
};
# Progress;
progress_label = {bold = true;};
progress_label = {
fg = "#ebdbb2";
bold = true;
};
progress_normal = {
fg = "blue";
bg = "black";
fg = "#504945";
bg = "#3c3836";
};
progress_error = {
fg = "red";
bg = "black";
fg = "#fb4934";
bg = "#3c3836";
};
# Permissions;
permissions_t = {fg = "blue";};
permissions_r = {fg = "lightyellow";};
permissions_w = {fg = "lightred";};
permissions_x = {fg = "lightgreen";};
permissions_s = {fg = "darkgray";};
permissions_t = {fg = "#504945";};
permissions_r = {fg = "#b8bb26";};
permissions_w = {fg = "#fb4934";};
permissions_x = {fg = "#b8bb26";};
permissions_s = {fg = "#665c54";};
};
}

View File

@@ -0,0 +1,7 @@
{
programs.yazi.theme.tasks = {
border = {fg = "#504945";};
title = {};
hovered = {underline = true;};
};
}

View File

@@ -0,0 +1,10 @@
{
programs.yazi.theme.which = {
mask = {bg = "#3c3836";};
cand = {fg = "#83a598";};
rest = {fg = "#928374";};
desc = {fg = "#fe8019";};
separator = " ";
separator_style = {fg = "#504945";};
};
}

View File

@@ -1,3 +1,4 @@
# Yanked from fufexan!
{
self,
inputs,

View File

@@ -1,3 +1,4 @@
# yes, this is also yanked from, you guessed it, fufexan.
let
shared = [
./bin