From d805358f600dec3509da7471e0c8b6c081db1edc Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 3 Jul 2023 02:15:05 +0400 Subject: [PATCH] we are getting somewhere --- config/neovim/init.lua | 0 configuration.nix | 39 ++++++++++++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 config/neovim/init.lua diff --git a/config/neovim/init.lua b/config/neovim/init.lua new file mode 100644 index 00000000..e69de29b diff --git a/configuration.nix b/configuration.nix index 3fca138d..45d15dd6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -3,11 +3,11 @@ # and in the NixOS manual (accessible by running `nixos-help`). { config, pkgs, lib, ... }: - { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + ]; # grub (mount efi partition to /boot/efi @@ -44,7 +44,7 @@ useXkbConfig = true; # use xkbOptions in tty. }; - #TODO(sako):: butthis in that curly bracket + #TODO(sako):: put this in that curly bracket # Enable the X11 windowing system. services.xserver.enable = true; # enable bspwm @@ -135,23 +135,48 @@ alacritty polybar steam - wine-staging + winetricks + wineWowPackages.staging lutris discord networkmanagerapplet ]; }; + home-manager.useUserPackages = true; + home-manager.users.sako = { pkgs, ...}: { + # CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!! + home.stateVersion = "23.05"; + home.packages = [ pkgs.kitty ]; + home.username = "sako"; + home.homeDirectory = "/home/sako"; + programs.bash.enable = true; + programs.home-manager.enable = true; + programs.git = { + enable = true; + package = pkgs.gitFull; + userName = "Sakooooo"; + userEmail = "78461130+Sakooooo@users.noreply.github.com"; + }; + programs.neovim = { + enable = true; + extraConfig = builtins.readFile config/neovim/init.lua; + }; + + }; + fonts.fonts = with pkgs;[ jetbrains-mono ]; # git crediental manager is in gitFull package # config options happen to be here too - programs.git = { - enable = true; - package = pkgs.gitFull; - }; + #programs.git = { + # enable = true; + # package = pkgs.gitFull; + # userName = "Sakooooo"; + # userEmail = "78461130+Sakooooo@users.noreply.github.com"; + #}; # List packages installed in system profile. To search, run: # $ nix search wget