nix #11

Manually merged
geoffrey merged 113 commits from nix into main 2023-12-09 21:43:01 +01:00
3 changed files with 19 additions and 1 deletions
Showing only changes of commit 6d9d2078a6 - Show all commits

View file

@ -3,6 +3,7 @@
programs = { programs = {
home-manager.enable = true; home-manager.enable = true;
bash.enable = true; # Just in case the default shell is not ZSH, so we still have the variables
zsh = { zsh = {
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
@ -54,6 +55,10 @@
}; };
home = { home = {
stateVersion = "23.05"; stateVersion = "23.05";
language = {
base = "en_US.UTF-8";
time = "en_DK.UTF-8";
};
packages = with pkgs; [ packages = with pkgs; [
# dotfiles dependencies # dotfiles dependencies
coreutils coreutils

View file

@ -1,7 +1,9 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ... }:
{ {
xsession = { xsession = {
enable = true;
windowManager = { windowManager = {
command = "${config.xsession.windowManager.i3.package}/bin/i3";
i3 = { i3 = {
enable = true; enable = true;
config = config =
@ -437,6 +439,14 @@
}; };
home = { home = {
file = {
".xinitrc" = {
source = pkgs.writeShellScript "xinitrc" ''
${pkgs.xorg.xrdb}/bin/xrdb ${config.xresources.path}
${config.xsession.windowManager.command}
'';
};
};
packages = with pkgs; [ packages = with pkgs; [
# remote # remote
tigervnc tigervnc

View file

@ -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 # 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.
} }