This commit is contained in:
Inex Code 2020-03-05 01:14:35 +03:00
parent 68fc993953
commit 361964ea2c
3 changed files with 60 additions and 5 deletions

View File

@ -50,6 +50,7 @@
pulseaudio = { pulseaudio = {
enable = true; enable = true;
package = pkgs.pulseaudioFull; package = pkgs.pulseaudioFull;
support32Bit = true;
extraModules = [ pkgs.pulseaudio-modules-bt ]; 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. # Define a user account. Don't forget to set a password with passwd.
users.users.inex = { users.users.inex = {
isNormalUser = true; isNormalUser = true;
home = "/home/inex"; home = "/home/inex";
description = "Inex Code"; 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 # This value determines the NixOS release with which your system is to be

24
Laptop/modules/my_vim.nix Normal file
View File

@ -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"
];
}
];
};
}

View File

@ -1,16 +1,23 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ let
unstable = import <nixos-unstable> {};
in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Utils # Utils
cool-retro-term cool-retro-term
tmux tmux
ponysay ponysay
neovim (pkgs.callPackage ./modules/my_vim.nix {})
neofetch neofetch
pciutils pciutils
openvpn openvpn
git git
unzip
tldr
ffmpeg
nextcloud-client
# Encrypted folders # Encrypted folders
encfs encfs
@ -18,15 +25,19 @@
# Browsers # Browsers
firefox firefox
transmission-gtk
# Messangers # Messangers
tdesktop tdesktop
discord discord
riot-desktop riot-desktop
qtox
# Games # Games
steam steam
openttd steam-run-native
unstable.openttd
vulkan-tools
lutris-unwrapped lutris-unwrapped
# Development # Development
@ -36,6 +47,10 @@
texlive.combined.scheme-full texlive.combined.scheme-full
gcc-unwrapped gcc-unwrapped
python3Full python3Full
#android-studio
cmake
josm
# Screen recording # Screen recording
obs-studio obs-studio
@ -49,10 +64,16 @@
audacity audacity
lmms lmms
picard picard
cmus
# Plugins
ladspaPlugins
lsp-plugins
# Documents # Documents
anki anki
libreoffice libreoffice
homebank
]; ];
} }