refact(config) : put cli stuff in console.nix
This commit is contained in:
parent
5f2e97ca5a
commit
382936127b
3 changed files with 39 additions and 12 deletions
|
@ -57,6 +57,7 @@
|
|||
mc
|
||||
micro
|
||||
mosh
|
||||
mpd
|
||||
neofetch
|
||||
pandoc
|
||||
pass
|
||||
|
@ -70,6 +71,7 @@
|
|||
wget
|
||||
whois
|
||||
wirelesstools
|
||||
yt-dlp
|
||||
zellij
|
||||
zola
|
||||
zsh-autosuggestions
|
||||
|
|
|
@ -11,6 +11,15 @@ in
|
|||
security.rtkit.enable = true;
|
||||
|
||||
services = {
|
||||
# sonarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true; # http://locahost:8989
|
||||
# };
|
||||
# prowlarr = {
|
||||
# enable = true;
|
||||
# openFirewall = true; # http://locahost:9696
|
||||
# };
|
||||
|
||||
#blueman.enable = true;
|
||||
#openvpn.restartAfterSleep = false;
|
||||
openvpn.servers = {
|
||||
|
@ -36,7 +45,6 @@ in
|
|||
|
||||
xserver = {
|
||||
enable = true;
|
||||
#desktopManager.gnome.enable = true;
|
||||
displayManager.defaultSession = "plasmawayland";
|
||||
desktopManager.plasma5.enable = true;
|
||||
displayManager.sddm.enable = true;
|
||||
|
@ -44,12 +52,6 @@ in
|
|||
};
|
||||
dbus.enable = true;
|
||||
};
|
||||
# xdg.portal = {
|
||||
# enable = true;
|
||||
# wlr.enable = true;
|
||||
# # gtk portal needed to make gtk apps happy
|
||||
# extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
# };
|
||||
|
||||
programs = {
|
||||
chromium = {
|
||||
|
@ -72,13 +74,11 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
# dconf.enable = true;
|
||||
droidcam.enable = true;
|
||||
firefox.enable = true;
|
||||
firefox.languagePacks = ["fr"];
|
||||
hyprland.enable = true;
|
||||
|
||||
#kdeconnect.enable = true;
|
||||
ssh.askPassword = pkgs.lib.mkForce "${pkgs.ksshaskpass.out}/bin/ksshaskpass"; # conflict between kde and gnome cf. https://github.com/NixOS/nixpkgs/issues/75867
|
||||
ssh.startAgent = true;
|
||||
steam.enable = true;
|
||||
|
@ -103,11 +103,13 @@ in
|
|||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# access to unstable nixpkgs
|
||||
# nixpkgs.config = {
|
||||
# packageOverrides = pkgs: with pkgs; {
|
||||
# unstable = import unstableTarball {
|
||||
|
@ -116,6 +118,7 @@ in
|
|||
# };
|
||||
# };
|
||||
|
||||
# no kde bloat
|
||||
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
||||
baloo
|
||||
elisa
|
||||
|
@ -124,6 +127,7 @@ in
|
|||
oxygen
|
||||
plasma-browser-integration
|
||||
];
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
@ -174,11 +178,11 @@ in
|
|||
kitty-themes
|
||||
latte-dock
|
||||
libreoffice-qt
|
||||
librewolf
|
||||
libsForQt5.ark
|
||||
libsForQt5.bismuth
|
||||
#mattermost-desktop
|
||||
mixxx
|
||||
mpd
|
||||
nextcloud-client
|
||||
obsidian
|
||||
signal-desktop
|
||||
|
@ -192,7 +196,6 @@ in
|
|||
wofi
|
||||
mako # notification system developed by swaywm maintainer
|
||||
wdisplays # tool to configure displays
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
# Do not restart the display manager automatically
|
||||
|
|
|
@ -37,6 +37,28 @@
|
|||
tls.useStartTls = true;
|
||||
};
|
||||
};
|
||||
"mrflos@mrflos.pw" = {
|
||||
realName = "Florian Schmitt";
|
||||
userName = "mrflos";
|
||||
address = "mrflos@mrflos.pw";
|
||||
|
||||
primary = false;
|
||||
thunderbird = {
|
||||
enable = true;
|
||||
};
|
||||
imap = {
|
||||
host = "mrflos.pw";
|
||||
port = 993;
|
||||
tls.enable = true;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
|
||||
smtp = {
|
||||
host = "mrflos.pw";
|
||||
port = 587;
|
||||
tls.useStartTls = true;
|
||||
};
|
||||
};
|
||||
"contact@yeswiki.pro" = {
|
||||
realName = "YesWiki.pro";
|
||||
userName = "contact@yeswiki.pro";
|
||||
|
|
Loading…
Reference in a new issue