1
0
Fork 0
mirror of https://github.com/inexcode/nixos-config.git synced 2024-11-27 00:11:27 +00:00
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 = {
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

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, ... }:
{
let
unstable = import <nixos-unstable> {};
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
];
}