delete unused configurations: bare-nvim, nixos
This commit is contained in:
@@ -1,52 +0,0 @@
|
||||
vim.cmd[[
|
||||
set clipboard=unnamedplus
|
||||
set nu
|
||||
set rnu
|
||||
nnoremap <c-p> <cmd>cprevious<cr>
|
||||
nnoremap <c-n> <cmd>cnext<cr>
|
||||
nnoremap ,cf <cmd>cfirst<cr>
|
||||
nnoremap ,co <cmd>copen<cr>
|
||||
nnoremap ,cc <cmd>cclose<cr>
|
||||
nnoremap ,ff :find ./**/*
|
||||
]]
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
"--filter=blob:none",
|
||||
"https://github.com/folke/lazy.nvim.git",
|
||||
"--branch=stable", -- latest stable release
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require'lazy'.setup{
|
||||
{ 'sainnhe/everforest',
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.o.termguicolors = true
|
||||
vim.g.everforest_enable_italic = true
|
||||
vim.cmd.colorscheme('everforest')
|
||||
end,
|
||||
},
|
||||
{ 'nvim-treesitter/nvim-treesitter',
|
||||
config = function()
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require'nvim-treesitter.configs'.setup{
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
indent = {
|
||||
enable = true,
|
||||
},
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
I Tried my best using this, but in the end got way to frustrated when I could
|
||||
not for the life of me download the required dependencies in a nix shell file
|
||||
to run ebiten, the simple 2d go game library.
|
||||
@@ -1,130 +0,0 @@
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nixos";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "Europe/Oslo";
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
windowManager.i3.enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
};
|
||||
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
swapDevices = [ {device = "/swapfile"; size = 8192; } ];
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
services.printing.enable = true;
|
||||
|
||||
hardware.uinput.enable = true;
|
||||
services.libinput = {
|
||||
enable = true;
|
||||
touchpad = {
|
||||
disableWhileTyping = true;
|
||||
tapping = false;
|
||||
};
|
||||
};
|
||||
|
||||
services.kanata = {
|
||||
enable = true;
|
||||
keyboards.default.configFile = "/etc/nixos/kanata.kbd";
|
||||
};
|
||||
|
||||
users.users.ivar = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox.enable = true;
|
||||
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_BOOST_ON_BAT = 0;
|
||||
CPU_SCALING_GOVERNOR_ON_BATTERY = "powersave";
|
||||
START_CHARGE_THRESH_BAT0 = 90;
|
||||
STOP_CHARGE_THRESH_BAT0 = 97;
|
||||
RUNTIME_PM_ON_BAT = "auto";
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"discord"
|
||||
"steam"
|
||||
"steam-unwrapped"
|
||||
];
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
fonts.packages = [
|
||||
# add specific ones here
|
||||
] ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts); # all nerdfonts
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
basedpyright
|
||||
cargo
|
||||
clang-tools
|
||||
gcc
|
||||
git
|
||||
go
|
||||
gopls
|
||||
lazygit
|
||||
neovim
|
||||
poetry
|
||||
python313
|
||||
python313Packages.pip
|
||||
python313Packages.pipx
|
||||
rustc
|
||||
stow
|
||||
wget
|
||||
alacritty
|
||||
discord
|
||||
fzf
|
||||
godot
|
||||
mako
|
||||
networkmanagerapplet
|
||||
unzip
|
||||
xorg.xauth
|
||||
picom
|
||||
dunst
|
||||
xclip
|
||||
dmenu
|
||||
pulseaudio
|
||||
brightnessctl
|
||||
bruno
|
||||
gnumake
|
||||
];
|
||||
|
||||
programs.mtr.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
environment.variables = {
|
||||
GTK_THEME = "Adwaita:dark";
|
||||
QT_QPA_PLATFORMTHEME = "gtk2";
|
||||
};
|
||||
|
||||
system.stateVersion = "25.05"; # dont change ever
|
||||
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo cp ../kanata/.config/kanata/kanata.kbd /etc/nixos/kanata.kbd
|
||||
sudo cp ./configuration.nix /etc/nixos/configuration.nix
|
||||
sudo nixos-rebuild switch --upgrade
|
||||
Reference in New Issue
Block a user