2022-07-27 04:18:42 +02:00
|
|
|
{ config, lib, pkgs, nixpkgs, ... }:
|
2020-02-21 01:23:10 +01:00
|
|
|
{
|
2021-07-02 00:15:06 +02:00
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
|
package = pkgs.nixUnstable;
|
2022-07-27 04:27:21 +02:00
|
|
|
settings = {
|
|
|
|
|
extra-sandbox-paths = [
|
|
|
|
|
"/var/keys/netrc"
|
|
|
|
|
];
|
2022-09-15 00:55:53 +02:00
|
|
|
substituters = [
|
|
|
|
|
"http://cache.banditlair.com"
|
|
|
|
|
"https://cache.nixos.org/"
|
|
|
|
|
];
|
|
|
|
|
trusted-public-keys = [
|
|
|
|
|
"cache.banditlair.com:4zk7iDvzKh6VN+LxzKIGcVPKgL5dLeyEt2ydrgx4o8c="
|
|
|
|
|
];
|
2022-07-27 04:27:21 +02:00
|
|
|
};
|
|
|
|
|
|
2021-07-02 00:15:06 +02:00
|
|
|
extraOptions = ''
|
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
|
'';
|
2022-07-27 04:18:42 +02:00
|
|
|
nixPath = [
|
|
|
|
|
"nixpkgs=${nixpkgs}"
|
|
|
|
|
];
|
2021-07-02 00:15:06 +02:00
|
|
|
};
|
|
|
|
|
|
2020-02-21 01:23:10 +01:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
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
|
|
|
|
|
];
|
2021-12-23 14:51:27 +01:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2020-02-21 01:23:10 +01:00
|
|
|
fonts = {
|
|
|
|
|
fonts = with pkgs; [
|
2021-08-23 15:04:58 +02:00
|
|
|
corefonts # Microsoft free fonts
|
2022-10-05 20:34:38 +02:00
|
|
|
meslo-lgs-nf
|
2020-02-21 01:23:10 +01:00
|
|
|
];
|
|
|
|
|
fontconfig.defaultFonts = {
|
2022-10-05 20:34:38 +02:00
|
|
|
monospace = [ "MesloLGS NF" ];
|
2020-02-21 01:23:10 +01:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2022-08-31 22:00:20 +02:00
|
|
|
services.udisks2.enable = true;
|
|
|
|
|
|
2022-04-26 14:06:30 +02:00
|
|
|
systemd.packages = [ pkgs.dconf ];
|
|
|
|
|
|
2020-03-09 23:20:16 +01:00
|
|
|
# Required for custom GTK themes
|
2022-01-27 07:41:14 +01:00
|
|
|
services.dbus.packages = with pkgs; [ dconf ];
|
2022-09-05 01:37:52 +02:00
|
|
|
|
|
|
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
2020-02-24 19:42:25 +01:00
|
|
|
}
|