Compare commits

...

2 commits

Author SHA1 Message Date
1c4239269d
hosts: add hostnames to networking.nix
Some checks failed
ci/woodpecker/push/checks Pipeline failed
2024-01-27 13:48:13 -05:00
63e0224714
neovim: config updates 2024-01-26 11:38:09 -05:00
22 changed files with 52 additions and 48 deletions

View file

@ -4,31 +4,60 @@ vim.opt.relativenumber = true
-- general
lvim.log.level = "info"
lvim.format_on_save = { enabled = true, pattern = "*.lua", timeout = 1000 }
-- to disable icons and use a minimalist setup, uncomment the following
lvim.format_on_save.enabled = true
lvim.format_on_save.pattern = { "*.lua", "*.nix", "*.rs", "*.go" }
-- keymappings <https://www.lunarvim.org/docs/configuration/keybindings>
lvim.leader = "space"
-- add your own keymapping
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
-- -- Change theme settings
lvim.colorscheme = "lunar"
lvim.colorscheme = "tokyonight"
lvim.transparent_window = true
lvim.builtin.alpha.active = true
lvim.builtin.alpha.mode = "dashboard"
lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
-- Automatically install missing parsers when entering buffer
lvim.builtin.nvimtree.setup.renderer.icons.show.git = true
lvim.builtin.treesitter.auto_install = true
-- plugins
lvim.plugins = {
{
"andweeb/presence.nvim",
config = function() require("user.presence").config() end
},
{
"folke/tokyonight.nvim", lazy = false, priority = 1000, opts = {}
},
{
"windwp/nvim-spectre",
event = "BufRead",
config = function() require("spectre").setup() end
},
{
"ggandor/leap.nvim",
name = "leap",
config = function()
require("leap").add_default_mappings()
end,
},
}
local formatters = require "lvim.lsp.null-ls.formatters"
formatters.setup {
{
name = "alejandra",
command = "alejandra",
args = { "--quiet" },
filetypes = { "nix" }
}
}
local function open_nvim_tree() require("nvim-tree.api").tree.open() end
vim.api.nvim_create_autocmd({ "VimEnter" }, { callback = open_nvim_tree })

View file

@ -10,6 +10,7 @@ M.config = function()
main_image = "file",
client_id = "793271441293967371",
buttons = true,
show_time = true,
log_level = nil,
debounce_timeout = 10,
enable_line_number = true, -- Displays the current line number instead of the current project

View file

@ -19,8 +19,7 @@
};
programs.hyprland.enable = true;
networking.hostName = "ame";
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "ame";
firewall = {
enable = true;
};

View file

@ -19,10 +19,6 @@
"kernel.shmmax" = 100663296;
};
networking = {
hostName = "arashi";
};
services.xserver = {
layout = "us";
xkbVariant = "";

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "arashi";
firewall = {
enable = true;
};

View file

@ -14,11 +14,7 @@
useOSProber = false;
};
};
networking = {
hostName = "haru";
};
services.xserver = {
layout = "us";
xkbVariant = "";

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "haru";
firewall = {
enable = true;
};

View file

@ -15,10 +15,6 @@
};
};
networking = {
hostName = "kariru";
};
services.xserver = {
layout = "us";
xkbVariant = "";

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "kariru";
firewall = {
enable = true;
};

View file

@ -15,10 +15,6 @@
};
};
networking = {
hostName = "kaze";
};
services.xserver = {
layout = "us";
xkbVariant = "";

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "kaze";
firewall = {
enable = true;
};

View file

@ -15,10 +15,6 @@ _: {
};
};
networking = {
hostName = "sakura";
};
services.snowflake-proxy.enable = true;
services.xserver = {

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "sakura";
firewall = {
enable = true;
};

View file

@ -8,7 +8,6 @@ _: {
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "sora";
users.users.notoh.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGmI3hRDFjxLjrM3pE471e4jxSlcqeizh3iNVVdaMHeN sora"
];

View file

@ -1,5 +1,6 @@
{lib, ...}: {
networking = {
hostName = "sora";
nameservers = [
"9.9.9.9"
"149.112.112.112"

View file

@ -32,10 +32,6 @@
virtualisation.libvirtd.enable = true;
networking = {
hostName = "tsuki";
};
services = {
xserver = {
enable = true;
@ -75,6 +71,8 @@
};
};
programs.gamemode.enable = true;
programs.steam = {
enable = true;
extraCompatPackages = [
@ -99,10 +97,6 @@
enable = true;
extraPackages = [pkgs.nvidia-vaapi-driver];
};
opentabletdriver = {
enable = true;
daemon.enable = true;
};
};
environment.systemPackages = with pkgs; [
@ -111,6 +105,5 @@
libvirt
qemu_kvm
jdk17
comma
];
}

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "tsuki";
firewall = {
enable = true;
};
@ -9,6 +10,7 @@ _: {
"resolv.conf".text = ''
nameserver 192.168.1.103
nameserver 9.9.9.9
options edns0
'';
};
}

View file

@ -15,10 +15,6 @@
};
};
networking = {
hostName = "tsuru";
};
services.xserver = {
layout = "us";
xkbVariant = "";

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "tsuru";
firewall = {
enable = true;
};

View file

@ -15,10 +15,6 @@
};
};
networking = {
hostName = "yuki";
};
services.xserver = {
layout = "us";
xkbVariant = "";

View file

@ -1,6 +1,7 @@
_: {
networking = {
networkmanager.enable = true;
hostName = "yuki";
firewall = {
enable = true;
};