77 lines
1.4 KiB
Nix
77 lines
1.4 KiB
Nix
{ config, lib, pkgs, nixpkgs, ... }:
|
|
{
|
|
|
|
nix = {
|
|
package = pkgs.nixUnstable;
|
|
sandboxPaths = [
|
|
"/var/keys/netrc"
|
|
];
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
nixPath = [
|
|
"nixpkgs=${nixpkgs}"
|
|
];
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
wget
|
|
inetutils
|
|
openvpn
|
|
openfortivpn
|
|
|
|
man
|
|
|
|
dos2unix
|
|
|
|
vim
|
|
git
|
|
git-lfs
|
|
zip
|
|
unzip
|
|
|
|
htop
|
|
ncdu
|
|
nload
|
|
pciutils
|
|
];
|
|
nixpkgs.config.allowUnfree = true;
|
|
fonts = {
|
|
fonts = with pkgs; [
|
|
corefonts # Microsoft free fonts
|
|
(nerdfonts.override { fonts = [ "Meslo" ]; })
|
|
];
|
|
fontconfig.defaultFonts = {
|
|
monospace = [ "MesloLGMDZ Nerd Font Mono" ];
|
|
};
|
|
};
|
|
|
|
sound.enable = true;
|
|
hardware.pulseaudio.enable = true;
|
|
hardware.pulseaudio.support32Bit = true;
|
|
|
|
programs.adb.enable = true;
|
|
|
|
users.users.froidmpa = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "adbusers" ];
|
|
shell = pkgs.zsh;
|
|
};
|
|
|
|
programs.ssh.startAgent = true;
|
|
services.xserver = {
|
|
enable = true;
|
|
layout = "fr";
|
|
desktopManager.xterm.enable = false;
|
|
windowManager.xmonad.enable = true;
|
|
displayManager.lightdm = {
|
|
enable = true;
|
|
background = "/etc/nixos/configs/files/wallpaper.png";
|
|
};
|
|
};
|
|
|
|
systemd.packages = [ pkgs.dconf ];
|
|
|
|
# Required for custom GTK themes
|
|
services.dbus.packages = with pkgs; [ dconf ];
|
|
}
|