de-lacadie #3
|
|
@ -124,11 +124,8 @@
|
||||||
# Enable x server
|
# Enable x server
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManager.i3.enable = true;
|
displayManager.gdm.enable = true;
|
||||||
};
|
desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
services.displayManager = {
|
|
||||||
defaultSession = "none+i3";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable dconf; necessary for some programs
|
# Enable dconf; necessary for some programs
|
||||||
|
|
|
||||||
|
|
@ -39,16 +39,16 @@ in {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# Configure gammastep (night shift)
|
# # Configure gammastep (night shift)
|
||||||
services.gammastep = {
|
# services.gammastep = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
temperature.day = 6500;
|
# temperature.day = 6500;
|
||||||
temperature.night = 4000;
|
# temperature.night = 4000;
|
||||||
# boul robert-bourassa/boul rené-lévesque : 45.498743909804354, -73.5703457606738
|
# # boul robert-bourassa/boul rené-lévesque : 45.498743909804354, -73.5703457606738
|
||||||
latitude = 45.4987;
|
# latitude = 45.4987;
|
||||||
longitude = -73.5703;
|
# longitude = -73.5703;
|
||||||
# tray = true;
|
# # tray = true;
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
|
|
@ -90,11 +90,6 @@ in {
|
||||||
++ # Personalized selection of command-line (CLI/TUI) apps
|
++ # Personalized selection of command-line (CLI/TUI) apps
|
||||||
[ terminal ] ++ # Terminal emulator
|
[ terminal ] ++ # Terminal emulator
|
||||||
[
|
[
|
||||||
qutebrowser
|
|
||||||
cinnamon.nemo
|
|
||||||
gnome.file-roller
|
|
||||||
cinnamon.nemo-fileroller
|
|
||||||
evince
|
|
||||||
imv
|
imv
|
||||||
vlc
|
vlc
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|
@ -116,7 +111,7 @@ in {
|
||||||
bitwarden
|
bitwarden
|
||||||
] ++ # Personalized selection of graphical apps
|
] ++ # Personalized selection of graphical apps
|
||||||
[ mons shticker-book-unwritten ] ++ # Games
|
[ mons shticker-book-unwritten ] ++ # Games
|
||||||
[ bemenu j4-dmenu-desktop wl-clipboard wl-clipboard-x11 ] ++ # i3 and x11 related packages
|
[ bemenu j4-dmenu-desktop xclip ] ++ # i3 and x11 related packages
|
||||||
[
|
[
|
||||||
noto-fonts
|
noto-fonts
|
||||||
redhat-official-fonts
|
redhat-official-fonts
|
||||||
|
|
@ -162,48 +157,49 @@ in {
|
||||||
# command = "${pkgs.lib.getExe pkgs.swaylock} -f";
|
# command = "${pkgs.lib.getExe pkgs.swaylock} -f";
|
||||||
# }];
|
# }];
|
||||||
#};
|
#};
|
||||||
|
#
|
||||||
|
|
||||||
xsession = let
|
# xsession = let
|
||||||
term = terminal;
|
# term = terminal;
|
||||||
dmenuCommand = builtins.readFile "${scripts}/dmenu.sh";
|
# dmenuCommand = builtins.readFile "${scripts}/dmenu.sh";
|
||||||
in {
|
# in {
|
||||||
enable = true;
|
# enable = true;
|
||||||
windowManager.i3 = {
|
# windowManager.i3 = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
config = rec {
|
# config = rec {
|
||||||
terminal = "${pkgs.lib.getExe term}";
|
# terminal = "${pkgs.lib.getExe term}";
|
||||||
modifier = "Mod4";
|
# modifier = "Mod4";
|
||||||
fonts = {
|
# fonts = {
|
||||||
names = [ "Red Hat Display" ];
|
# names = [ "Red Hat Display" ];
|
||||||
style = "Regular";
|
# style = "Regular";
|
||||||
size = 12.0;
|
# size = 12.0;
|
||||||
};
|
# };
|
||||||
# input = {
|
# # input = {
|
||||||
# "type:keyboard" = {
|
# # "type:keyboard" = {
|
||||||
# xkb_layout = "ca,ca";
|
# # xkb_layout = "ca,ca";
|
||||||
# xkb_variant = ",eng";
|
# # xkb_variant = ",eng";
|
||||||
|
# # };
|
||||||
|
# # };
|
||||||
|
# # leaving bars out for now
|
||||||
|
# # bars = ...
|
||||||
|
# window = {
|
||||||
|
# border = 2;
|
||||||
|
# titlebar = true;
|
||||||
|
# };
|
||||||
|
# menu = "j4-dmenu-desktop --no-generic --term=${pkgs.lib.getExe term} --dmenu='${dmenuCommand}'";
|
||||||
|
# focus.followMouse = false;
|
||||||
|
# # keybindings and extraConfig go here
|
||||||
|
# };
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
# leaving bars out for now
|
|
||||||
# bars = ...
|
|
||||||
window = {
|
|
||||||
border = 2;
|
|
||||||
titlebar = true;
|
|
||||||
};
|
|
||||||
menu = "j4-dmenu-desktop --no-generic --term=${pkgs.lib.getExe term} --dmenu='${dmenuCommand}'";
|
|
||||||
focus.followMouse = false;
|
|
||||||
# keybindings and extraConfig go here
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Fixes electron apps
|
# Fixes electron apps
|
||||||
# home.sessionVariables = { NIXOS_OZONE_WL = "1"; };
|
# home.sessionVariables = { NIXOS_OZONE_WL = "1"; };
|
||||||
|
|
||||||
# configure fonts correctly
|
# configure fonts correctly
|
||||||
fonts.fontconfig.enable = true;
|
# fonts.fontconfig.enable = true;
|
||||||
xdg.configFile."fontconfig/conf.d/20-default.fonts.conf".source =
|
# xdg.configFile."fontconfig/conf.d/5-default.fonts.conf".source =
|
||||||
"${extra}/20-default-fonts.conf";
|
# "${extra}/20-default-fonts.conf";
|
||||||
|
|
||||||
# terminal emulator
|
# terminal emulator
|
||||||
programs.alacritty.enable = true;
|
programs.alacritty.enable = true;
|
||||||
|
|
@ -247,17 +243,17 @@ in {
|
||||||
programs.pandoc = { enable = true; };
|
programs.pandoc = { enable = true; };
|
||||||
|
|
||||||
# Configure notifications
|
# Configure notifications
|
||||||
services.dunst = {
|
# services.dunst = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
settings = {
|
# settings = {
|
||||||
global = {
|
# global = {
|
||||||
font = "Red Hat Display 12";
|
# font = "Red Hat Display 12";
|
||||||
mouse_left_click = "do_action, close_current";
|
# mouse_left_click = "do_action, close_current";
|
||||||
mouse_middle_click = "close_all";
|
# mouse_middle_click = "close_all";
|
||||||
mouse_right_click = "close_current";
|
# mouse_right_click = "close_current";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.firefox = import ../../programs/firefox.nix { inherit pkgs; };
|
programs.firefox = import ../../programs/firefox.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue