initial commit

This commit is contained in:
2023-12-21 13:05:49 +05:30
commit e63afa54b8
65 changed files with 3589 additions and 0 deletions

View File

@ -0,0 +1,72 @@
{ inputs, outputs, lib, pkgs, username, ... }: {
services = {
xserver = {
enable = true;
displayManager = {
sddm.enable = true;
autoLogin = {
enable = true;
user = "${username}";
};
};
windowManager.awesome = {
enable = true;
luaModules = lib.attrValues {
inherit
(pkgs.lua53Packages)
lgi
ldbus
luadbi-mysql
luaposix
;
};
};
};
acpid.enable = true;
mpd.enable = true;
picom.enable = true;
upower.enable = true;
blueman.enable = true;
};
programs.dconf.enable = true;
environment.systemPackages = with pkgs;[
lua53Packages.lua
wezterm
rofi
acpi
linuxKernel.packages.linux_zen.acpi_call
lxappearance
jq
inotify-tools
polkit_gnome
xdotool
xclip
xorg.xbacklight
gpick
ffmpeg
alsa-utils
pavucontrol
brightnessctl
libnotify
feh
maim
mpv
mpd
mpc-cli
mpdris2
python311
python311Packages.mutagen
ncmpcpp
xdg-utils
playerctl
pulsemixer
procps
sct
slop
speedcrunch
];
}

7
modules/nixos/steam.nix Normal file
View File

@ -0,0 +1,7 @@
{ ... }: {
programs.steam = {
enable = true;
};
hardware.opengl.driSupport32Bit = true;
}

View File

@ -0,0 +1,7 @@
{
imports = [
./docker.nix
./waydroid.nix
./qemu.nix
];
}

View File

@ -0,0 +1,7 @@
{ username, ... }: {
virtualisation = {
docker.enable = true;
};
users.users.${username}.extraGroups = [ "docker" ];
}

View File

@ -0,0 +1,11 @@
{ pkgs, username, ... }: {
virtualisation = {
libvirtd.enable = true;
};
users.users.${username}.extraGroups = [ "libvirtd" ];
environment.systemPackages = with pkgs; [
virt-manager
];
}

View File

@ -0,0 +1,5 @@
{ ... }: {
virtualisation = {
waydroid.enable = true;
};
}