nixos-vm-2023-06-13-15-37-46
This commit is contained in:
92
configs/gui.nix
Normal file
92
configs/gui.nix
Normal file
@ -0,0 +1,92 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
unstable = import <nixos-unstable> {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
networking = {
|
||||
firewall.enable = false;
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with unstable.pkgs; [
|
||||
# brave
|
||||
# fswebcam
|
||||
glxinfo
|
||||
gparted
|
||||
libsecret
|
||||
# networkmanager-openconnect
|
||||
# openconnect
|
||||
# pulseaudio-ctl
|
||||
gnome.simple-scan
|
||||
];
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
adb.enable = true;
|
||||
ssh = {
|
||||
startAgent = true;
|
||||
};
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
# enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
|
||||
# fonts = {
|
||||
# enableDefaultFonts = true;
|
||||
# fontDir.enable = true;
|
||||
|
||||
# fonts = with pkgs; [
|
||||
# # (nerdfonts.override { fonts = [ "Liberation" ]; })
|
||||
# nerdfonts
|
||||
# corefonts
|
||||
# # google-fonts
|
||||
# liberation_ttf
|
||||
# noto-fonts
|
||||
# noto-fonts-cjk
|
||||
# noto-fonts-emoji
|
||||
# noto-fonts-extra
|
||||
|
||||
# open-sans
|
||||
# stix-two
|
||||
# twemoji-color-font
|
||||
# ];
|
||||
|
||||
# # fontconfig = {
|
||||
# # enable = true;
|
||||
# # antialias = true;
|
||||
# # defaultFonts = {
|
||||
# # # monospace = [ "Fira Mono" ];
|
||||
# # serif = [ "Linux Libertine" ];
|
||||
# # sansSerif = [ "Open Sans" ];
|
||||
# # emoji = [ "Twitter Color Emoji" ];
|
||||
# # };
|
||||
# # };
|
||||
# };
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.sane.enable = true;
|
||||
|
||||
services = {
|
||||
# mullvad-vpn.enable = true;
|
||||
gvfs.enable = true;
|
||||
# udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [ pkgs.brlaser ];
|
||||
};
|
||||
etesync-dav = {
|
||||
enable = true;
|
||||
apiUrl = "https://etesync.szczepan.ski/";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user