Disable home module until proper dotfile migration

This commit is contained in:
coolneng 2020-05-09 13:53:59 +02:00
parent 3b65c57b30
commit b2cf386dfe
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
4 changed files with 56 additions and 15 deletions

View File

@ -81,7 +81,7 @@
./modules/gui.nix ./modules/gui.nix
./modules/datasync.nix ./modules/datasync.nix
./modules/audio.nix ./modules/audio.nix
./modules/home.nix #./modules/home.nix
./modules/hardware-configuration.nix ./modules/hardware-configuration.nix
]; ];

View File

@ -30,6 +30,7 @@
imv imv
kanshi kanshi
redshift-wlr redshift-wlr
kitty
]; ];
extraSessionCommands = '' extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
@ -41,7 +42,39 @@
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
''; '';
}; };
wayland.windowManager.sway = {
enable = true;
config = {
input = { * = {xkb_layout = "es"}; };
menu = "rofi -show drun";
terminal = "kitty";
keybindings = lib.mkOptionDefault {
"${modifier}+Return" = "exec ${terminal}";
"${modifier}+w" = "kill";
"${modifier}+d" = "exec ${menu}";
};
startup = [
{command = "kitty --class tmux -- tmuxp load ~/.tmuxp/local.yaml"; workspace = "1";}
{command = "firefox"; workspace = "2";}
{command = "emacs"; workspace = "3";}
];
window.commands = [
{command = "floating enable"; criteria = {class = "mpv";} ; }
{command = "floating enable"; criteria = {class = "imv";} ; }
];
workspaceAutoBackAndForth = true;
};
extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
export _JAVA_AWT_WM_NONREPARENTING=1
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export SDL_VIDEODRIVER=wayland
'';
};
# Blue light filter # Blue light filter
services.redshift = { services.redshift = {
package = pkgs.redshift-wlr; package = pkgs.redshift-wlr;

View File

@ -1,16 +1,5 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
# Doom emacs overlay
let
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d;
};
in
{ {
# User packages # User packages
home.packages = [ home.packages = [

View File

@ -1,5 +1,16 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
# Doom emacs overlay
let
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d;
};
in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Monitoring # Monitoring
@ -14,8 +25,16 @@
# LaTeX # LaTeX
texlive.combined.scheme-full texlive.combined.scheme-full
pandoc pandoc
# Declarative user config # Text editors
home-manager doom-emacs
neovim
# Terminals
tmux
tmuxp
# Development
git
direnv
lorri
]; ];
# Fonts declaration # Fonts declaration