added some dev apps and services
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
users.users.${userSettings.username} = {
|
users.users.${userSettings.username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = userSettings.name;
|
description = userSettings.name;
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "docker" "input" "flatpak" "dialout" "video" "input" "audio" "libvirtd" ];
|
||||||
packages = with pkgs; [];
|
packages = with pkgs; [];
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,6 +9,10 @@
|
|||||||
../../system/services/ssh.nix
|
../../system/services/ssh.nix
|
||||||
../../system/services/polkit.nix
|
../../system/services/polkit.nix
|
||||||
../../system/services/flatpak.nix
|
../../system/services/flatpak.nix
|
||||||
|
../../system/services/steam.nix
|
||||||
|
../../system/services/tailscale.nix
|
||||||
|
../../system/services/libvirtd.nix
|
||||||
|
../../system/services/docker.nix
|
||||||
../../system/hardware/kernel.nix
|
../../system/hardware/kernel.nix
|
||||||
../../system/hardware/nvidia.nix
|
../../system/hardware/nvidia.nix
|
||||||
../../system/hardware/opengl.nix
|
../../system/hardware/opengl.nix
|
||||||
|
|||||||
@@ -7,7 +7,13 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../user/apps/browsers/firefox.nix
|
../../user/apps/browsers/firefox.nix
|
||||||
../../user/dev/git.nix
|
../../user/dev/tools/git.nix
|
||||||
|
../../user/dev/editor/vscodium.nix
|
||||||
|
../../user/dev/editor/zed-editor.nix
|
||||||
|
../../user/dev/lang/cc.nix
|
||||||
|
../../user/dev/lang/python.nix
|
||||||
|
../../user/dev/lang/rust.nix
|
||||||
|
../../user/dev/ide/qtcreator.nix
|
||||||
../../user/utils/alacritty.nix
|
../../user/utils/alacritty.nix
|
||||||
../../user/wm/xmonad/xmonad.nix
|
../../user/wm/xmonad/xmonad.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
hardware.graphics.enable = true;
|
hardware.graphics.enable = true;
|
||||||
|
hardware.graphics.enable32Bit = true;
|
||||||
hardware.graphics.extraPackages = with pkgs; [
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
mesa
|
mesa
|
||||||
];
|
];
|
||||||
|
|||||||
17
system/services/docker.nix
Normal file
17
system/services/docker.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ pkgs, config, ... }:
|
||||||
|
{
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
storageDriver = "overlay2";
|
||||||
|
enableOnBoot = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
docker
|
||||||
|
docker-compose
|
||||||
|
docker-buildx
|
||||||
|
nvidia-container-toolkit
|
||||||
|
];
|
||||||
|
|
||||||
|
hardware.nvidia-container-toolkit.enable = true;
|
||||||
|
}
|
||||||
16
system/services/libvirtd.nix
Normal file
16
system/services/libvirtd.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
allowedBridges = [
|
||||||
|
"virbr0"
|
||||||
|
"nm-bridge"
|
||||||
|
];
|
||||||
|
qemu.package = pkgs.qemu_full;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
qemu-utils
|
||||||
|
virt-manager
|
||||||
|
];
|
||||||
|
}
|
||||||
5
system/services/steam.nix
Normal file
5
system/services/steam.nix
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.steam ];
|
||||||
|
programs.steam.enable = true;
|
||||||
|
}
|
||||||
8
system/services/tailscale.nix
Normal file
8
system/services/tailscale.nix
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
services.tailscale = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
interfaceName = "tailscale0";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,6 +4,8 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
|
file
|
||||||
|
jq
|
||||||
htop
|
htop
|
||||||
mc
|
mc
|
||||||
git
|
git
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./dbus.nix
|
./dbus.nix
|
||||||
];
|
];
|
||||||
services.displayManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
environment.plasma6.excludePackages = with pkgs.kdePackages; [
|
||||||
plasma-browser-integration
|
plasma-browser-integration
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
wayland
|
wayland
|
||||||
];
|
];
|
||||||
|
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = lib.mkDefault {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
package = pkgs.sddm;
|
package = pkgs.sddm;
|
||||||
@@ -26,6 +26,7 @@
|
|||||||
variant = "";
|
variant = "";
|
||||||
options = "";
|
options = "";
|
||||||
};
|
};
|
||||||
|
dpi = 96;
|
||||||
excludePackages = [ pkgs.xterm ];
|
excludePackages = [ pkgs.xterm ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
4
user/dev/editor/vscodium.nix
Normal file
4
user/dev/editor/vscodium.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [ pkgs.vscodium ];
|
||||||
|
}
|
||||||
4
user/dev/editor/zed-editor.nix
Normal file
4
user/dev/editor/zed-editor.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [ pkgs.zed-editor ];
|
||||||
|
}
|
||||||
4
user/dev/ide/qtcreator.nix
Normal file
4
user/dev/ide/qtcreator.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = [ pkgs.qtcreator ];
|
||||||
|
}
|
||||||
13
user/dev/lang/cc.nix
Normal file
13
user/dev/lang/cc.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
gcc
|
||||||
|
gdb
|
||||||
|
cmake
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
clang-analyzer
|
||||||
|
clang-tools
|
||||||
|
];
|
||||||
|
}
|
||||||
6
user/dev/lang/python.nix
Normal file
6
user/dev/lang/python.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
python3Full
|
||||||
|
];
|
||||||
|
}
|
||||||
6
user/dev/lang/rust.nix
Normal file
6
user/dev/lang/rust.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
rustup
|
||||||
|
];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user