Compare commits
2 Commits
6f505c1c33
...
f986493354
Author | SHA1 | Date | |
---|---|---|---|
|
f986493354 | ||
|
d79a29f67c |
@ -1,12 +1,40 @@
|
|||||||
|
|
||||||
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
|
|
||||||
|
Plug 'sonph/onehalf', { 'rtp': 'vim' }
|
||||||
|
Plug 'vifm/vifm.vim'
|
||||||
|
Plug 'preservim/nerdtree'
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'jiangmiao/auto-pairs'
|
||||||
|
"Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
syntax on
|
||||||
|
colorscheme onehalfdark
|
||||||
|
|
||||||
|
" lightline
|
||||||
|
let g:lightline = {
|
||||||
|
\ 'colorscheme': 'onehalfdark',
|
||||||
|
\ 'active': {
|
||||||
|
\ 'left': [ [ 'mode', 'paste' ],
|
||||||
|
\ [ 'readonly', 'filename', 'modified' ] ]
|
||||||
|
\ },
|
||||||
|
\ 'component': {
|
||||||
|
\ 'helloworld': 'Hello, world!'
|
||||||
|
\ },
|
||||||
|
\ }
|
||||||
|
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
set tabstop=4 softtabstop=4
|
set tabstop=4 softtabstop=0
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set smartindent
|
set smartindent
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set incsearch
|
set incsearch
|
||||||
set scrolloff=8
|
set scrolloff=8
|
||||||
|
set noshowmode
|
||||||
"set colorcolumn=80
|
"set colorcolumn=80
|
||||||
"set mouse=a
|
|
||||||
"set clipboard=unnamedplus
|
|
||||||
|
@ -95,15 +95,15 @@ super + ctrl + {m,x,y,z}
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Focus the node in the given direction
|
# Focus the node in the given direction
|
||||||
super + {Left,Down,Up,Right}
|
#super + {Left,Down,Up,Right}
|
||||||
bspc node -f {west,south,north,east}
|
# bspc node -f {west,south,north,east}
|
||||||
|
|
||||||
super + {h, j, k, l}
|
super + {h, j, k, l}
|
||||||
bspc node -f {west,south,north,east}
|
bspc node -f {west,south,north,east}
|
||||||
|
|
||||||
# Move the node to the given direction
|
# Move the node to the given direction
|
||||||
super + shift + {Left,Down,Up,Right}
|
#super + shift + {Left,Down,Up,Right}
|
||||||
bspc node -s {west,south,north,east}
|
# bspc node -s {west,south,north,east}
|
||||||
|
|
||||||
super + shift + {h, j, k, l}
|
super + shift + {h, j, k, l}
|
||||||
bspc node -s {west,south,north,east}
|
bspc node -s {west,south,north,east}
|
||||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.config/nvim/plugged
|
39
configuration.nix → nixos/configuration.nix
Executable file → Normal file
39
configuration.nix → nixos/configuration.nix
Executable file → Normal file
@ -23,8 +23,6 @@ programs.nix-ld.enable = true;
|
|||||||
|
|
||||||
#networking.hostName = "nixos"; # Define your hostname.
|
#networking.hostName = "nixos"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
|
|
||||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
@ -48,8 +46,6 @@ programs.nix-ld.enable = true;
|
|||||||
# keyMap = "us";
|
# keyMap = "us";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -65,23 +61,17 @@ programs.nix-ld.enable = true;
|
|||||||
autoRepeatDelay = 200;
|
autoRepeatDelay = 200;
|
||||||
autoRepeatInterval = 35;
|
autoRepeatInterval = 35;
|
||||||
|
|
||||||
|
|
||||||
windowManager.bspwm.enable = true;
|
windowManager.bspwm.enable = true;
|
||||||
#desktopManager.xterm.enable = true;
|
|
||||||
|
|
||||||
# gnome
|
|
||||||
#displayManager.gdm.enable = true;
|
|
||||||
#desktopManager.gnome.enable = true;
|
|
||||||
|
|
||||||
displayManager.defaultSession = "none+bspwm";
|
displayManager.defaultSession = "none+bspwm";
|
||||||
#displayManager.startx.enable = true;
|
|
||||||
libinput = {
|
|
||||||
|
|
||||||
|
libinput = {
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
enable = true;
|
enable = true;
|
||||||
touchpad.accelSpeed = "0.155";
|
touchpad.accelSpeed = "0.155";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
@ -106,7 +96,7 @@ programs.nix-ld.enable = true;
|
|||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# editors
|
# editors
|
||||||
vim
|
vim
|
||||||
neovim
|
neovim
|
||||||
@ -161,30 +151,8 @@ programs.nix-ld.enable = true;
|
|||||||
python311
|
python311
|
||||||
geany
|
geany
|
||||||
nasm
|
nasm
|
||||||
|
|
||||||
# tmp
|
|
||||||
# gsettings-desktop-schemas
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# environment.gnome.excludePackages = (with pkgs; [
|
|
||||||
# gnome-photos
|
|
||||||
# gnome-tour
|
|
||||||
# ]) ++ (with pkgs.gnome; [
|
|
||||||
# cheese # webcam tool
|
|
||||||
# gnome-music
|
|
||||||
# gnome-terminal
|
|
||||||
# gedit # text editor
|
|
||||||
# epiphany # web browser
|
|
||||||
# geary # email reader
|
|
||||||
# evince # document viewer
|
|
||||||
# gnome-characters
|
|
||||||
# totem # video player
|
|
||||||
# tali # poker game
|
|
||||||
# iagno # go game
|
|
||||||
# hitori # sudoku game
|
|
||||||
# atomix # puzzle game
|
|
||||||
# ]);
|
|
||||||
|
|
||||||
fonts.fonts = [ pkgs.font-awesome ];
|
fonts.fonts = [ pkgs.font-awesome ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@ -197,6 +165,7 @@ programs.nix-ld.enable = true;
|
|||||||
enable = true;
|
enable = true;
|
||||||
theme = "candy-kingdom";
|
theme = "candy-kingdom";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
27
nixos/gnome.nix
Normal file
27
nixos/gnome.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
environment.gnome.excludePackages = (with pkgs; [
|
||||||
|
gnome-photos
|
||||||
|
gnome-tour
|
||||||
|
]) ++ (with pkgs.gnome; [
|
||||||
|
cheese
|
||||||
|
gnome-music
|
||||||
|
gnome-terminal
|
||||||
|
gedit
|
||||||
|
epiphany
|
||||||
|
geary
|
||||||
|
evince
|
||||||
|
gnome-characters
|
||||||
|
totem
|
||||||
|
tali
|
||||||
|
iagno
|
||||||
|
hitori
|
||||||
|
atomix
|
||||||
|
]);
|
||||||
|
|
||||||
|
}
|
21
nixos/xfce_bspwm.nix
Normal file
21
nixos/xfce_bspwm.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ config, lib, pkgs, ...}: with lib;
|
||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
|
||||||
|
desktopManager.xfce = {
|
||||||
|
enable = true;
|
||||||
|
enableXfwm = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
windowManager.bspwm.enable = true;
|
||||||
|
#iwindowManager.bspwm.configFile = "/home/grimhilt/dotfiles/common/bspwm/bspwmrc";
|
||||||
|
#windowManager.bspwm.sxhkd.configFile = "/home/grimhilt/dotfiles/common/bspwm/sxhkdrc";
|
||||||
|
desktopManager.xterm.enable = false;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#services.xserver.displayManager.defaultSession = "none+bspwm";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user