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
|
mc
|
||||||
micro
|
micro
|
||||||
mosh
|
mosh
|
||||||
|
mpd
|
||||||
neofetch
|
neofetch
|
||||||
pandoc
|
pandoc
|
||||||
pass
|
pass
|
||||||
|
@ -70,6 +71,7 @@
|
||||||
wget
|
wget
|
||||||
whois
|
whois
|
||||||
wirelesstools
|
wirelesstools
|
||||||
|
yt-dlp
|
||||||
zellij
|
zellij
|
||||||
zola
|
zola
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
|
|
|
@ -11,6 +11,15 @@ in
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
# sonarr = {
|
||||||
|
# enable = true;
|
||||||
|
# openFirewall = true; # http://locahost:8989
|
||||||
|
# };
|
||||||
|
# prowlarr = {
|
||||||
|
# enable = true;
|
||||||
|
# openFirewall = true; # http://locahost:9696
|
||||||
|
# };
|
||||||
|
|
||||||
#blueman.enable = true;
|
#blueman.enable = true;
|
||||||
#openvpn.restartAfterSleep = false;
|
#openvpn.restartAfterSleep = false;
|
||||||
openvpn.servers = {
|
openvpn.servers = {
|
||||||
|
@ -36,7 +45,6 @@ in
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#desktopManager.gnome.enable = true;
|
|
||||||
displayManager.defaultSession = "plasmawayland";
|
displayManager.defaultSession = "plasmawayland";
|
||||||
desktopManager.plasma5.enable = true;
|
desktopManager.plasma5.enable = true;
|
||||||
displayManager.sddm.enable = true;
|
displayManager.sddm.enable = true;
|
||||||
|
@ -44,12 +52,6 @@ in
|
||||||
};
|
};
|
||||||
dbus.enable = true;
|
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 = {
|
programs = {
|
||||||
chromium = {
|
chromium = {
|
||||||
|
@ -72,13 +74,11 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# dconf.enable = true;
|
|
||||||
droidcam.enable = true;
|
droidcam.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
firefox.languagePacks = ["fr"];
|
firefox.languagePacks = ["fr"];
|
||||||
hyprland.enable = true;
|
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.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;
|
ssh.startAgent = true;
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
|
@ -103,11 +103,13 @@ in
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# access to unstable nixpkgs
|
||||||
# nixpkgs.config = {
|
# nixpkgs.config = {
|
||||||
# packageOverrides = pkgs: with pkgs; {
|
# packageOverrides = pkgs: with pkgs; {
|
||||||
# unstable = import unstableTarball {
|
# unstable = import unstableTarball {
|
||||||
|
@ -116,6 +118,7 @@ in
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
# no kde bloat
|
||||||
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
|
||||||
baloo
|
baloo
|
||||||
elisa
|
elisa
|
||||||
|
@ -124,6 +127,7 @@ in
|
||||||
oxygen
|
oxygen
|
||||||
plasma-browser-integration
|
plasma-browser-integration
|
||||||
];
|
];
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -174,11 +178,11 @@ in
|
||||||
kitty-themes
|
kitty-themes
|
||||||
latte-dock
|
latte-dock
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
|
librewolf
|
||||||
libsForQt5.ark
|
libsForQt5.ark
|
||||||
libsForQt5.bismuth
|
libsForQt5.bismuth
|
||||||
#mattermost-desktop
|
#mattermost-desktop
|
||||||
mixxx
|
mixxx
|
||||||
mpd
|
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
obsidian
|
obsidian
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
@ -192,7 +196,6 @@ in
|
||||||
wofi
|
wofi
|
||||||
mako # notification system developed by swaywm maintainer
|
mako # notification system developed by swaywm maintainer
|
||||||
wdisplays # tool to configure displays
|
wdisplays # tool to configure displays
|
||||||
yt-dlp
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Do not restart the display manager automatically
|
# Do not restart the display manager automatically
|
||||||
|
|
|
@ -37,6 +37,28 @@
|
||||||
tls.useStartTls = true;
|
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" = {
|
"contact@yeswiki.pro" = {
|
||||||
realName = "YesWiki.pro";
|
realName = "YesWiki.pro";
|
||||||
userName = "contact@yeswiki.pro";
|
userName = "contact@yeswiki.pro";
|
||||||
|
|
Loading…
Reference in a new issue