parent
e766f11ae2
commit
d712571efb
|
@ -7,10 +7,11 @@
|
|||
./starship.nix
|
||||
#./mails.nix
|
||||
./mpd.nix
|
||||
./emacs.nix
|
||||
# ./emacs.nix
|
||||
./i3status.nix
|
||||
./himalaya.nix
|
||||
../../../modules/tmux.nix
|
||||
../../../modules/emacs.nix
|
||||
];
|
||||
home.stateVersion = "21.11";
|
||||
home.username = "alexandre";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
{ config, pkgs, ... }:{
|
||||
|
||||
programs.i3status-rust = {
|
||||
|
@ -35,6 +36,11 @@
|
|||
{
|
||||
block = "battery";
|
||||
}
|
||||
{
|
||||
block = "kdeconnect";
|
||||
format = " $icon {$bat_icon $bat_charge |}{$notif_icon |}{$network_icon$network_strength $network_type |}";
|
||||
bat_good = 101;
|
||||
}
|
||||
{
|
||||
block = "time";
|
||||
interval = 60;
|
||||
|
|
|
@ -33,5 +33,6 @@
|
|||
vlc
|
||||
guake
|
||||
graphviz
|
||||
kdeconnect
|
||||
];
|
||||
}
|
||||
|
|
|
@ -70,8 +70,6 @@
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
networking.firewall.enable = true;
|
||||
|
||||
i18n.defaultLocale = "fr_FR.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
|
@ -182,12 +180,17 @@ fonts = {
|
|||
services.openssh.enable = true;
|
||||
services.openssh.settings.PermitRootLogin = "no";
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
networking.firewall.allowedTCPPorts = [ 24800 6600 ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 24800 6600 ];
|
||||
# For kdeconnect
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
];
|
||||
};
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
Loading…
Reference in New Issue