nix #11
|
@ -3,6 +3,7 @@
|
|||
|
||||
programs = {
|
||||
home-manager.enable = true;
|
||||
bash.enable = true; # Just in case the default shell is not ZSH, so we still have the variables
|
||||
zsh = {
|
||||
enable = true;
|
||||
enableAutosuggestions = true;
|
||||
|
@ -54,6 +55,10 @@
|
|||
};
|
||||
home = {
|
||||
stateVersion = "23.05";
|
||||
language = {
|
||||
base = "en_US.UTF-8";
|
||||
time = "en_DK.UTF-8";
|
||||
};
|
||||
packages = with pkgs; [
|
||||
# dotfiles dependencies
|
||||
coreutils
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
{
|
||||
xsession = {
|
||||
enable = true;
|
||||
windowManager = {
|
||||
command = "${config.xsession.windowManager.i3.package}/bin/i3";
|
||||
i3 = {
|
||||
enable = true;
|
||||
config =
|
||||
|
@ -437,6 +439,14 @@
|
|||
};
|
||||
|
||||
home = {
|
||||
file = {
|
||||
".xinitrc" = {
|
||||
source = pkgs.writeShellScript "xinitrc" ''
|
||||
${pkgs.xorg.xrdb}/bin/xrdb ${config.xresources.path}
|
||||
${config.xsession.windowManager.command}
|
||||
'';
|
||||
};
|
||||
};
|
||||
packages = with pkgs; [
|
||||
# remote
|
||||
tigervnc
|
||||
|
|
|
@ -27,5 +27,8 @@ in
|
|||
};
|
||||
|
||||
# Fix https://nix-community.github.io/home-manager/index.html#_why_do_i_get_an_error_message_about_literal_ca_desrt_dconf_literal_or_literal_dconf_service_literal
|
||||
home.packages = [ pkgs.dconf ];
|
||||
# home.packages = [ pkgs.dconf ];
|
||||
dconf.enable = false; # Otherwise standalone home-manager complains it can't find /etc/dbus-1/session.conf on Arch.
|
||||
# Symlinking it to /usr/share/dbus-1/session.conf goes further but not much.
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue