2020-02-21 01:23:10 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
{
|
2021-07-02 00:15:06 +02:00
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
|
package = pkgs.nixUnstable;
|
|
|
|
|
extraOptions = ''
|
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
|
'';
|
|
|
|
|
};
|
|
|
|
|
|
2020-02-21 01:23:10 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
2021-07-02 00:15:06 +02:00
|
|
|
(pkgs.writeShellScriptBin "nixFlakes" ''
|
2021-07-16 19:13:51 +02:00
|
|
|
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
|
2021-07-02 00:15:06 +02:00
|
|
|
'')
|
|
|
|
|
|
2020-02-21 01:23:10 +01:00
|
|
|
wget
|
|
|
|
|
inetutils
|
2020-08-24 16:13:16 +02:00
|
|
|
openvpn
|
|
|
|
|
openfortivpn
|
2020-02-21 01:23:10 +01:00
|
|
|
|
|
|
|
|
man
|
|
|
|
|
|
2020-03-02 04:59:42 +01:00
|
|
|
dos2unix
|
|
|
|
|
|
2020-02-21 01:23:10 +01:00
|
|
|
vim
|
|
|
|
|
git
|
2020-12-25 15:49:32 +01:00
|
|
|
git-lfs
|
2020-03-02 04:59:42 +01:00
|
|
|
zip
|
2020-02-24 19:42:25 +01:00
|
|
|
unzip
|
2020-02-21 01:23:10 +01:00
|
|
|
|
|
|
|
|
htop
|
|
|
|
|
ncdu
|
2020-03-02 04:59:42 +01:00
|
|
|
nload
|
2020-02-21 01:23:10 +01:00
|
|
|
pciutils
|
|
|
|
|
];
|
|
|
|
|
fonts = {
|
|
|
|
|
fonts = with pkgs; [
|
2021-06-30 21:41:07 +02:00
|
|
|
(nerdfonts.override { fonts = [ "Meslo" ]; })
|
2020-02-21 01:23:10 +01:00
|
|
|
];
|
|
|
|
|
fontconfig.defaultFonts = {
|
|
|
|
|
monospace = [ "MesloLGMDZ Nerd Font Mono" ];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
sound.enable = true;
|
|
|
|
|
hardware.pulseaudio.enable = true;
|
|
|
|
|
hardware.pulseaudio.support32Bit = true;
|
|
|
|
|
|
2021-04-13 10:48:59 +02:00
|
|
|
programs.adb.enable = true;
|
|
|
|
|
|
2020-02-21 01:23:10 +01:00
|
|
|
users.users.froidmpa = {
|
|
|
|
|
isNormalUser = true;
|
2021-04-13 10:48:59 +02:00
|
|
|
extraGroups = [ "wheel" "adbusers" ];
|
2020-02-21 01:23:10 +01:00
|
|
|
shell = pkgs.zsh;
|
|
|
|
|
};
|
|
|
|
|
|
2020-02-25 03:35:19 +01:00
|
|
|
programs.ssh.startAgent = true;
|
2020-02-21 01:23:10 +01:00
|
|
|
services.xserver = {
|
|
|
|
|
enable = true;
|
|
|
|
|
layout = "fr";
|
|
|
|
|
desktopManager.xterm.enable = false;
|
|
|
|
|
windowManager.xmonad.enable = true;
|
2020-02-22 04:29:00 +01:00
|
|
|
displayManager.lightdm = {
|
|
|
|
|
enable = true;
|
|
|
|
|
background = "/etc/nixos/configs/files/wallpaper.png";
|
|
|
|
|
};
|
2020-02-21 01:23:10 +01:00
|
|
|
};
|
2020-03-09 23:20:16 +01:00
|
|
|
|
|
|
|
|
# Required for custom GTK themes
|
|
|
|
|
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
2020-02-24 19:42:25 +01:00
|
|
|
}
|