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,27 +8,30 @@
}; };
}; };
outputs = outputs = inputs @ {
inputs @ { self self,
, nixpkgs nixpkgs,
, nixpkgs-unstable nixpkgs-unstable,
, home-manager home-manager,
, ... ...
}: }: let
let
system = "x86_64-linux"; system = "x86_64-linux";
in in {
{
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra; formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
colmena = { colmena = {
meta = { meta = {
nixpkgs = import nixpkgs { nixpkgs = import nixpkgs {
system = "x86_64-linux"; system = "x86_64-linux";
overlays = [ ]; overlays = [];
}; };
}; };
bengal = { name, nodes, pkgs, ... }: { bengal = {
name,
nodes,
pkgs,
...
}: {
imports = [ imports = [
./hosts/${name}/configuration.nix ./hosts/${name}/configuration.nix
./modules/common ./modules/common
@ -41,7 +44,12 @@
}; };
}; };
maine-coon = { name, nodes, pkgs, ... }: { maine-coon = {
name,
nodes,
pkgs,
...
}: {
imports = [ imports = [
./hosts/${name}/configuration.nix ./hosts/${name}/configuration.nix
./modules/common ./modules/common

View file

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

View file

@ -43,7 +43,7 @@
{ {
plugin = catppuccin-nvim; 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 -- save file
map({ "i", "x", "n", "s" }, "<C-s>", "<cmd>w<cr><esc>", { desc = "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 --keywordprg
map("n", "<leader>K", "<cmd>norm! K<cr>", { desc = "Keywordprg" }) map("n", "<leader>K", "<cmd>norm! K<cr>", { desc = "Keywordprg" })
@ -89,6 +92,6 @@ map("n", "<leader>be",
map({"n", "v"}, "<leader>cf", map({"n", "v"}, "<leader>cf",
function() function()
require("conform").format() require("conform").format({ async = true, lsp_fallback = true, range = range })
end, { desc = "Format Code" } end, { desc = "Format Code" }
) )

View file

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