Compare commits

...

3 commits

Author SHA1 Message Date
Florian Schmitt
382936127b refact(config) : put cli stuff in console.nix 2023-11-29 10:17:07 +03:00
Florian Schmitt
5f2e97ca5a use vi for nix conf edit + jellij +fzf 2023-11-29 09:50:21 +03:00
Florian Schmitt
56b205370b fix(nas) : new ip 2023-11-29 09:49:32 +03:00
4 changed files with 44 additions and 16 deletions

View file

@ -26,10 +26,9 @@
{ device = "/dev/disk/by-uuid/37E1-D07F";
fsType = "vfat";
};
fileSystems."/mnt/nas/music" =
{
device = "192.168.1.9:/volume1/music";
device = "192.168.1.2:/volume1/music";
options = [ "nfsvers=4.2" "x-systemd.automount" "noauto" "rw" "relatime" "user" "acl" "defaults"];
fsType = "nfs";
};

View file

@ -20,7 +20,7 @@
shellAliases = {
ls = "lsd --hyperlink=auto";
icat = "kitty +kitten icat";
nixedit = "codium /etc/nixos";
nixedit = "vi /etc/nixos";
nixupdate = "sudo nix-channel --update && sudo nixos-rebuild switch";
nixclean = "sudo nix-env --delete-generations old --profile /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch && sudo nix-store --gc";
};
@ -44,6 +44,7 @@
dnsutils
emacs-nox
findutils
fzf
gnugrep
gnumake
gnupg
@ -56,6 +57,7 @@
mc
micro
mosh
mpd
neofetch
pandoc
pass
@ -69,6 +71,8 @@
wget
whois
wirelesstools
yt-dlp
zellij
zola
zsh-autosuggestions
];

View file

@ -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;
@ -108,6 +108,8 @@ in
# 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

View file

@ -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";