From 361964ea2c36b8a0151916a12ca18ecfb7f0ebbe Mon Sep 17 00:00:00 2001 From: inexcode Date: Thu, 5 Mar 2020 01:14:35 +0300 Subject: [PATCH] Update --- Laptop/configuration.nix | 14 ++++++++++++-- Laptop/modules/my_vim.nix | 24 ++++++++++++++++++++++++ Laptop/software.nix | 27 ++++++++++++++++++++++++--- 3 files changed, 60 insertions(+), 5 deletions(-) create mode 100644 Laptop/modules/my_vim.nix diff --git a/Laptop/configuration.nix b/Laptop/configuration.nix index 6038806..fd8fbf1 100644 --- a/Laptop/configuration.nix +++ b/Laptop/configuration.nix @@ -50,6 +50,7 @@ pulseaudio = { enable = true; package = pkgs.pulseaudioFull; + support32Bit = true; extraModules = [ pkgs.pulseaudio-modules-bt ]; }; }; @@ -101,13 +102,22 @@ }; }; */ }; - + + programs = { + adb.enable = true; + java = { + enable = true; + }; + }; + + hardware.steam-hardware.enable = true; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.inex = { isNormalUser = true; home = "/home/inex"; description = "Inex Code"; - extraGroups = [ "wheel" "networkmanager" "jackaudio" "audio" ]; # Enable ‘sudo’ for the user. + extraGroups = [ "wheel" "networkmanager" "jackaudio" "audio" "video" "adbusers" ]; # Enable ‘sudo’ for the user. }; # This value determines the NixOS release with which your system is to be diff --git a/Laptop/modules/my_vim.nix b/Laptop/modules/my_vim.nix new file mode 100644 index 0000000..d0c2acc --- /dev/null +++ b/Laptop/modules/my_vim.nix @@ -0,0 +1,24 @@ +{neovim, vimUtils, vimPlugins, stdenv, fetchgit}: + +let custom_config='' +let g:airline_powerline_fonts = 1 +let g:airline_theme='dark' +''; +in neovim.override { + vimAlias = true; + configure = { + customRC = custom_config; + vam.pluginDictionaries = [ + { names = [ + "vim-sensible" + "vim-airline" + "vim-airline-themes" + "nerdtree" + "vim-nix" + "dart-vim-plugin" + ]; + } + ]; + }; +} + diff --git a/Laptop/software.nix b/Laptop/software.nix index 63b8ccb..cf5289b 100644 --- a/Laptop/software.nix +++ b/Laptop/software.nix @@ -1,16 +1,23 @@ { config, pkgs, ... }: -{ +let + unstable = import {}; +in { environment.systemPackages = with pkgs; [ # Utils cool-retro-term tmux ponysay - neovim + (pkgs.callPackage ./modules/my_vim.nix {}) neofetch pciutils openvpn git + unzip + tldr + ffmpeg + + nextcloud-client # Encrypted folders encfs @@ -18,15 +25,19 @@ # Browsers firefox + transmission-gtk # Messangers tdesktop discord riot-desktop + qtox # Games steam - openttd + steam-run-native + unstable.openttd + vulkan-tools lutris-unwrapped # Development @@ -36,6 +47,10 @@ texlive.combined.scheme-full gcc-unwrapped python3Full + #android-studio + cmake + + josm # Screen recording obs-studio @@ -49,10 +64,16 @@ audacity lmms picard + cmus + + # Plugins + ladspaPlugins + lsp-plugins # Documents anki libreoffice + homebank ]; }