update nixos surface's config to use the common-configuration.nix

This commit is contained in:
arnaucube
2024-10-28 17:20:46 +01:00
parent 4c02c0cf12
commit 288e50e511

View File

@@ -9,6 +9,7 @@
{ {
imports = imports =
[ [
./common-configuration.nix
./hardware-configuration.nix ./hardware-configuration.nix
./surface-extra-hardware-configuration.nix ./surface-extra-hardware-configuration.nix
./private-configuration.nix ./private-configuration.nix
@@ -73,67 +74,6 @@
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim
neovim
wget
tmux
git
delta
tig
mosh
bat
lf
ripgrep
fzf
python3
xfce.thunar
xfce.xfconf # needed to save preferences of thunar
screenfetch
htop
alacritty
zathura
mate.atril
firefox
qutebrowser
chromium
xfce.ristretto
pavucontrol
texlive.combined.scheme-medium # includes latexmk
#pgf-umlsd # latex diagrams
#pgf
(pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-medium
pgf
;
})
sage
rustup
gcc
go
nodejs
xclip # to make clipboard work in neovim
xfce.xfce4-screenshooter
mpv
xorg.xmodmap
feh
kolourpaint
];
fonts.packages = with pkgs; [
dina-font
proggyfonts
terminus_font
fira-code
liberation_ttf
noto-fonts
tamsyn
termsyn
gohufont
];
programs.zsh.enable = true; programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;