This commit is contained in:
CherryKitten 2024-03-24 19:02:25 +01:00
parent dcf9f050e6
commit 044061840e
Signed by: sammy
GPG key ID: 98D8F75FB0658276
6 changed files with 65 additions and 51 deletions

View file

@ -8,17 +8,15 @@
};
};
outputs =
inputs @ { self
, nixpkgs
, nixpkgs-unstable
, home-manager
, ...
}:
let
outputs = inputs @ {
self,
nixpkgs,
nixpkgs-unstable,
home-manager,
...
}: let
system = "x86_64-linux";
in
{
in {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
colmena = {
meta = {
@ -28,7 +26,12 @@
};
};
bengal = { name, nodes, pkgs, ... }: {
bengal = {
name,
nodes,
pkgs,
...
}: {
imports = [
./hosts/${name}/configuration.nix
./modules/common
@ -41,7 +44,12 @@
};
};
maine-coon = { name, nodes, pkgs, ... }: {
maine-coon = {
name,
nodes,
pkgs,
...
}: {
imports = [
./hosts/${name}/configuration.nix
./modules/common

View file

@ -5,6 +5,9 @@
enable = true;
banner = "nyanya :3";
logLevel = "VERBOSE";
extraConfig = ''
StreamLocalBindUnlink yes
'';
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;

View file

@ -43,7 +43,7 @@
{
plugin = catppuccin-nvim;
config = "colorscheme catppuccin";
config = "colorscheme catppuccin-mocha";
}
{

View file

@ -37,6 +37,9 @@ map({ "i", "n" }, "<esc>", "<cmd>noh<cr><esc>", { desc = "Escape and clear hlsea
-- save file
map({ "i", "x", "n", "s" }, "<C-s>", "<cmd>w<cr><esc>", { desc = "Save file" })
-- quit all
map("n", "<leader>qq", "<cmd>qa<cr>", { desc = "Quit all" })
--keywordprg
map("n", "<leader>K", "<cmd>norm! K<cr>", { desc = "Keywordprg" })
@ -89,6 +92,6 @@ map("n", "<leader>be",
map({"n", "v"}, "<leader>cf",
function()
require("conform").format()
require("conform").format({ async = true, lsp_fallback = true, range = range })
end, { desc = "Format Code" }
)

View file

@ -12,8 +12,8 @@
bat
lsd
gnupg
kitty
tmux
colmena
];
programs = {