From 4c40d05fc1e629772a3c9c16f0773e95c63073d2 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Wed, 4 Mar 2026 09:34:53 +0100 Subject: [PATCH] delete unused configurations: bare-nvim, nixos --- bare-nvim/.config/nvim/init.lua | 52 ------------- nixos/README | 3 - nixos/configuration.nix | 130 -------------------------------- nixos/rebuild.sh | 4 - 4 files changed, 189 deletions(-) delete mode 100644 bare-nvim/.config/nvim/init.lua delete mode 100644 nixos/README delete mode 100644 nixos/configuration.nix delete mode 100755 nixos/rebuild.sh diff --git a/bare-nvim/.config/nvim/init.lua b/bare-nvim/.config/nvim/init.lua deleted file mode 100644 index 4b34030..0000000 --- a/bare-nvim/.config/nvim/init.lua +++ /dev/null @@ -1,52 +0,0 @@ -vim.cmd[[ - set clipboard=unnamedplus - set nu - set rnu - nnoremap cprevious - nnoremap cnext - nnoremap ,cf cfirst - nnoremap ,co copen - nnoremap ,cc cclose - 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, - }, -} diff --git a/nixos/README b/nixos/README deleted file mode 100644 index 9acc9d0..0000000 --- a/nixos/README +++ /dev/null @@ -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. diff --git a/nixos/configuration.nix b/nixos/configuration.nix deleted file mode 100644 index d800eac..0000000 --- a/nixos/configuration.nix +++ /dev/null @@ -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 - -} diff --git a/nixos/rebuild.sh b/nixos/rebuild.sh deleted file mode 100755 index fd7d7ca..0000000 --- a/nixos/rebuild.sh +++ /dev/null @@ -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