Merge branch 'master' of git.2li.ch:Nebucatnetzer/nixos
This commit is contained in:
commit
0995fe5618
|
@ -74,10 +74,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
|
||||||
# $ nix search wget
|
|
||||||
# allow non-free packages
|
# allow non-free packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# enable garbage collection
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
|
@ -88,14 +88,24 @@
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
|
|
||||||
|
# enable lockscreen
|
||||||
|
|
||||||
|
programs.xss-lock = {
|
||||||
|
enable = true;
|
||||||
|
lockerCommand = "i3lock -c 000000";
|
||||||
|
};
|
||||||
|
|
||||||
environment.shellAliases = {
|
environment.shellAliases = {
|
||||||
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
nix-generations = "sudo nix-env --list-generations --profile /nix/var/nix/profiles/system";
|
||||||
|
rebuild = "sudo nixos-rebuild switch";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
HIGHLIGHT_STYLE = "solarized-light";
|
HIGHLIGHT_STYLE = "solarized-light";
|
||||||
ZWEILI_ENVIRONMENT = "desktop";
|
ZWEILI_ENVIRONMENT = "desktop";
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
arc-theme
|
arc-theme
|
||||||
celluloid
|
celluloid
|
||||||
|
@ -103,6 +113,7 @@
|
||||||
git
|
git
|
||||||
highlight
|
highlight
|
||||||
htop
|
htop
|
||||||
|
i3lock
|
||||||
lxappearance
|
lxappearance
|
||||||
ncdu
|
ncdu
|
||||||
nitrogen
|
nitrogen
|
||||||
|
@ -110,7 +121,6 @@
|
||||||
ranger
|
ranger
|
||||||
rofi
|
rofi
|
||||||
source-code-pro
|
source-code-pro
|
||||||
source-highlight
|
|
||||||
terminator
|
terminator
|
||||||
tree
|
tree
|
||||||
vim
|
vim
|
||||||
|
|
|
@ -79,10 +79,15 @@ for i in groups:
|
||||||
desc="move focused window to group {}".format(i.name)),
|
desc="move focused window to group {}".format(i.name)),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
border = dict(
|
||||||
|
border_width=1,
|
||||||
|
border_focus='#000000'
|
||||||
|
)
|
||||||
|
|
||||||
layouts = [
|
layouts = [
|
||||||
layout.Columns(),
|
layout.Columns(**border),
|
||||||
layout.TreeTab(),
|
layout.TreeTab(**border),
|
||||||
layout.Max(),
|
layout.Max(**border),
|
||||||
# Try more layouts by unleashing below layouts.
|
# Try more layouts by unleashing below layouts.
|
||||||
# layout.Stack(num_stacks=2),
|
# layout.Stack(num_stacks=2),
|
||||||
# layout.Bsp(),
|
# layout.Bsp(),
|
||||||
|
|
Loading…
Reference in New Issue