Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Antoine RICHARD
nixos-configuration
Commits
96678a8b
Commit
96678a8b
authored
Dec 07, 2019
by
Antoine RICHARD
Browse files
add i3blocks
parent
e39f494d
Changes
1
Hide whitespace changes
Inline
Side-by-side
configuration.nix
View file @
96678a8b
...
...
@@ -55,49 +55,52 @@ with pkgs;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment
.
systemPackages
=
with
pkgs
;
[
# internet
wget
lynx
tor-browser-bundle-bin
# utils
htop
# writing
(
with
import
<
nixpkgs
>
{};
vim_configurable
.
customize
{
# Set this to "my-vim" and you need to type "my-vim" to open thisvim
# This allows to have multiple vim packages installed (e.g. with a different set of plugins)
name
=
"vim"
;
vimrcConfig
.
customRC
=
"
set backspace=indent,eol,start
set sw=2
set number
syntax enable
"
;
environment
=
{
pathsToLink
=
[
"/libexec"
];
# for i3blocks
systemPackages
=
with
pkgs
;
[
# internet
wget
lynx
tor-browser-bundle-bin
# utils
htop
# writing
(
with
import
<
nixpkgs
>
{};
vim_configurable
.
customize
{
# Set this to "my-vim" and you need to type "my-vim" to open thisvim
# This allows to have multiple vim packages installed (e.g. with a different set of plugins)
name
=
"vim"
;
vimrcConfig
.
customRC
=
"
set backspace=indent,eol,start
set sw=2
set number
syntax enable
"
;
# Use the default plugin list shipped with nixpkgs
vimrcConfig
.
vam
.
knownPlugins
=
pkgs
.
vimPlugins
;
vimrcConfig
.
vam
.
pluginDictionaries
=
[
{
names
=
[
# Basis
"syntastic"
"nerdtree"
"vim-gitgutter"
];
}
];
}
)
# development
git
gnumake
# misc
feh
dislocker
];
# Use the default plugin list shipped with nixpkgs
vimrcConfig
.
vam
.
knownPlugins
=
pkgs
.
vimPlugins
;
vimrcConfig
.
vam
.
pluginDictionaries
=
[
{
names
=
[
# Basis
"syntastic"
"nerdtree"
"vim-gitgutter"
];
}
];
}
)
# development
git
gnumake
# misc
feh
dislocker
];
};
# Some programs need SUID wrappers, can be configured further or are
...
...
@@ -153,7 +156,13 @@ with pkgs;
displayManager
.
gdm
.
enable
=
true
;
desktopManager
.
gnome3
.
enable
=
true
;
windowManager
.
i3
.
enable
=
true
;
windowManager
.
i3
=
{
enable
=
true
;
extraPackages
=
with
pkgs
;
[
i3status
i3blocks
];
};
};
tor
.
client
.
enable
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment