mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 13:06:35 +05:30
initial commit
This commit is contained in:
72
modules/nixos/desktop/awesome/default.nix
Executable file
72
modules/nixos/desktop/awesome/default.nix
Executable 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
7
modules/nixos/steam.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
}
|
7
modules/nixos/virtualisation/default.nix
Executable file
7
modules/nixos/virtualisation/default.nix
Executable file
@ -0,0 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./docker.nix
|
||||
./waydroid.nix
|
||||
./qemu.nix
|
||||
];
|
||||
}
|
7
modules/nixos/virtualisation/docker.nix
Executable file
7
modules/nixos/virtualisation/docker.nix
Executable file
@ -0,0 +1,7 @@
|
||||
{ username, ... }: {
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
};
|
||||
|
||||
users.users.${username}.extraGroups = [ "docker" ];
|
||||
}
|
11
modules/nixos/virtualisation/qemu.nix
Executable file
11
modules/nixos/virtualisation/qemu.nix
Executable file
@ -0,0 +1,11 @@
|
||||
{ pkgs, username, ... }: {
|
||||
virtualisation = {
|
||||
libvirtd.enable = true;
|
||||
};
|
||||
|
||||
users.users.${username}.extraGroups = [ "libvirtd" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-manager
|
||||
];
|
||||
}
|
5
modules/nixos/virtualisation/waydroid.nix
Executable file
5
modules/nixos/virtualisation/waydroid.nix
Executable file
@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
virtualisation = {
|
||||
waydroid.enable = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user