Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f8c662727 | ||
|
|
570eb61aab | ||
|
|
3fd2701629 | ||
|
|
247993df78 |
|
|
@ -43,7 +43,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "America/Montreal";
|
time.timeZone = "Australia/Melbourne";
|
||||||
|
|
||||||
# Select internationalization properties.
|
# Select internationalization properties.
|
||||||
i18n.defaultLocale = "fr_CA.UTF-8";
|
i18n.defaultLocale = "fr_CA.UTF-8";
|
||||||
|
|
@ -72,11 +72,11 @@
|
||||||
###################################
|
###################################
|
||||||
|
|
||||||
# Set login and power management options
|
# Set login and power management options
|
||||||
services.logind.lidSwitch = "suspend";
|
# services.logind.lidSwitch = "suspend";
|
||||||
services.logind.lidSwitchDocked =
|
# services.logind.lidSwitchDocked =
|
||||||
"ignore"; # when an external monitor is plugged in
|
# "ignore"; # when an external monitor is plugged in
|
||||||
services.logind.powerKey = "ignore"; # handle this WM side
|
# services.logind.powerKey = "ignore"; # handle this WM side
|
||||||
services.logind.powerKeyLongPress = "poweroff";
|
# services.logind.powerKeyLongPress = "poweroff";
|
||||||
|
|
||||||
# Enable graphics.
|
# Enable graphics.
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
|
|
@ -91,7 +91,7 @@
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
# Enable udisks (handles storage devices, e.g. usb flash drives)
|
# Enable udisks (handles storage devices, e.g. usb flash drives)
|
||||||
services.udisks2.enable = true;
|
# services.udisks2.enable = true;
|
||||||
|
|
||||||
# Enable sound.
|
# Enable sound.
|
||||||
security.rtkit.enable = true; # needed for pipewire
|
security.rtkit.enable = true; # needed for pipewire
|
||||||
|
|
@ -128,7 +128,7 @@
|
||||||
home-manager.users.alice = import ./home.nix;
|
home-manager.users.alice = import ./home.nix;
|
||||||
|
|
||||||
# Make sure swaylock works (defined in home.nix)
|
# Make sure swaylock works (defined in home.nix)
|
||||||
security.pam.services.swaylock = { };
|
# security.pam.services.swaylock = { };
|
||||||
|
|
||||||
# Make sure suspend actually happens
|
# Make sure suspend actually happens
|
||||||
# what this does is set the time it waits before sleeping to 10 (default 30)
|
# what this does is set the time it waits before sleeping to 10 (default 30)
|
||||||
|
|
@ -186,6 +186,12 @@
|
||||||
# Enable zsh; necessary to switch
|
# Enable zsh; necessary to switch
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
|
# Enable KDE Plasma 6
|
||||||
|
services.xserver.enable = true;
|
||||||
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
services.displayManager.sddm.enable = true;
|
||||||
|
services.displayManager.sddm.wayland.enable = true;
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
# programs.mtr.enable = true;
|
# programs.mtr.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
let
|
let
|
||||||
scripts = ../../scripts;
|
scripts = ../../scripts;
|
||||||
extra = ../../extra;
|
extra = ../../extra;
|
||||||
terminal = pkgs.alacritty;
|
# terminal = pkgs.alacritty;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../../programs/kdeconnect.nix
|
../../programs/kdeconnect.nix
|
||||||
|
|
@ -90,16 +90,16 @@ in {
|
||||||
] ++ # Basic utilities
|
] ++ # Basic utilities
|
||||||
[ bitwarden-cli htop snore hledger hledger-ui ]
|
[ bitwarden-cli htop snore hledger hledger-ui ]
|
||||||
++ # Personalized selection of command-line (CLI/TUI) apps
|
++ # Personalized selection of command-line (CLI/TUI) apps
|
||||||
[ terminal ] ++ # Terminal emulator
|
# [ terminal ] ++ # Terminal emulator
|
||||||
[
|
[
|
||||||
qutebrowser
|
# qutebrowser
|
||||||
cinnamon.nemo
|
# cinnamon.nemo
|
||||||
gnome.file-roller
|
# gnome.file-roller
|
||||||
cinnamon.nemo-fileroller
|
# cinnamon.nemo-fileroller
|
||||||
evince
|
# evince
|
||||||
imv
|
# imv
|
||||||
vlc
|
vlc
|
||||||
pavucontrol
|
# pavucontrol
|
||||||
] ++ # Basic graphical apps
|
] ++ # Basic graphical apps
|
||||||
[
|
[
|
||||||
libreoffice
|
libreoffice
|
||||||
|
|
@ -110,7 +110,7 @@ in {
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
deluge-gtk
|
deluge-gtk
|
||||||
shotwell
|
# shotwell
|
||||||
lorien
|
lorien
|
||||||
keepassxc
|
keepassxc
|
||||||
zulip
|
zulip
|
||||||
|
|
@ -118,8 +118,8 @@ in {
|
||||||
bitwarden
|
bitwarden
|
||||||
gwenview
|
gwenview
|
||||||
] ++ # Personalized selection of graphical apps
|
] ++ # Personalized selection of graphical apps
|
||||||
[ mons shticker-book-unwritten ] ++ # Games
|
[ mons shticker-book-unwritten flightgear ] ++ # Games
|
||||||
[ swaybg bemenu j4-dmenu-desktop ] ++ # Sway- and Wayland-related packages
|
# [ swaybg bemenu j4-dmenu-desktop ] ++ # Sway- and Wayland-related packages
|
||||||
[
|
[
|
||||||
noto-fonts
|
noto-fonts
|
||||||
redhat-official-fonts
|
redhat-official-fonts
|
||||||
|
|
@ -132,7 +132,7 @@ in {
|
||||||
] ++ # Fonts
|
] ++ # Fonts
|
||||||
# [ papirus-icon-theme ] ++ # Icons
|
# [ papirus-icon-theme ] ++ # Icons
|
||||||
# [ vanilla-dmz ] ++ # Cursor
|
# [ vanilla-dmz ] ++ # Cursor
|
||||||
[ ] ++ # Temp
|
[ activate-linux ] ++ # Temp
|
||||||
[ ];
|
[ ];
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
@ -147,32 +147,32 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wayland.windowManager.sway = import ../../programs/sway.nix {
|
# wayland.windowManager.sway = import ../../programs/sway.nix {
|
||||||
inherit scripts extra config lib pkgs terminal;
|
# inherit scripts extra config lib pkgs terminal;
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.waybar =
|
# programs.waybar =
|
||||||
import ../../programs/waybar.nix { inherit scripts config lib pkgs terminal; };
|
# import ../../programs/waybar.nix { inherit scripts config lib pkgs terminal; };
|
||||||
|
|
||||||
programs.swaylock = {
|
# programs.swaylock = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
settings = { font-size = 14; };
|
# settings = { font-size = 14; };
|
||||||
};
|
# };
|
||||||
services.swayidle = {
|
# services.swayidle = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
events = [{
|
# events = [{
|
||||||
event = "before-sleep";
|
# event = "before-sleep";
|
||||||
command = "${pkgs.lib.getExe pkgs.swaylock} -f";
|
# command = "${pkgs.lib.getExe pkgs.swaylock} -f";
|
||||||
}];
|
# }];
|
||||||
};
|
# };
|
||||||
|
|
||||||
# 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/20-default.fonts.conf".source =
|
||||||
"${extra}/20-default-fonts.conf";
|
# "${extra}/20-default-fonts.conf";
|
||||||
|
|
||||||
# fix nemo terminal integration
|
# fix nemo terminal integration
|
||||||
# dconf.settings."org/cinnamon/desktop/applications/terminal".exec =
|
# dconf.settings."org/cinnamon/desktop/applications/terminal".exec =
|
||||||
|
|
@ -221,25 +221,25 @@ 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";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
services.batsignal = {
|
# services.batsignal = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
extraArgs = [
|
# extraArgs = [
|
||||||
"-w 20"
|
# "-w 20"
|
||||||
"-c 10"
|
# "-c 10"
|
||||||
"-d 3"
|
# "-d 3"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
programs.firefox = import ../../programs/firefox.nix { inherit pkgs; };
|
programs.firefox = import ../../programs/firefox.nix { inherit pkgs; };
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue