This commit is contained in:
天クマ 2026-04-08 08:50:30 -03:00
commit 03557090a1
2 changed files with 102 additions and 28 deletions

View file

@ -33,6 +33,12 @@
nix.gc.dates = "daily";
nix.gc.options = "--delete-older-than 5d";
nix.settings = {
substituters = [ "https://winapps.cachix.org/" ];
trusted-public-keys = [ "winapps.cachix.org-1:HI82jWrXZsQRar/PChgIx1unmuEsiQMQq+zt05CD36g=" ];
trusted-users = [ "adrian" ];
};
networking.hostName = "nixian"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -148,7 +154,7 @@
users.users.adrian = {
isNormalUser = true;
description = "Adrian Victor";
extraGroups = [ "networkmanager" "wheel" "lp"];
extraGroups = [ "libvirt" "networkmanager" "wheel" "lp"];
};
# Some programs need SUID wrappers, can be configured further or are
@ -181,6 +187,14 @@
# Or disable the firewall altogether.
networking.firewall.enable = false;
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # For Broadwell (2014) or newer processors. LIBVA_DRIVER_NAME=iHD
];
};
environment.sessionVariables = { LIBVA_DRIVER_NAME = "iHD"; };
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -1,17 +1,55 @@
{ config, pkgs, ... }:
{
services.samba = {
enable = true;
shares = {
ISOs = {
path = "/home/adrian/ISOs";
browseable = true;
"read only" = false;
"guest ok" = true;
"follow symlinks" = true;
};
VMs = {
path = "/home/adrian/VMs/shared";
browseable = true;
"read only" = false;
"guest ok" = true;
"follow symlinks" = true;
};
};
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["adrian"];
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
services.xserver.windowManager.windowmaker.enable = true;
services.openssh = {
enable = true;
ports = [ 22 ];
#settings = {
# PasswordAuthntication = true;
#AllowUsers = ["adrian"];
#};
};
#services.desktopManager.plasma6.enable = true;
nixpkgs.config.permittedInsecurePackages = [
"ventoy-gtk3-1.1.10"
];
services.desktopManager.plasma6.enable = true;
environment.plasma6.excludePackages = with pkgs; [
kdePackages.discover
kdePackages.kcalc
@ -33,7 +71,19 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
environment.systemPackages =
let
winapps =
(import (builtins.fetchTarball "https://github.com/winapps-org/winapps/archive/main.tar.gz"))
.packages.${pkgs.system};
in
with pkgs; [
winapps.winapps
winapps.winapps-launcher
sl
neo-cowsay
toilet
lutris
ffmpeg
xdg-desktop-portal-wlr
@ -44,8 +94,8 @@
wget
gnupg1
htop
adwaita-icon-theme # dummy just so apps have icons
clearlooks-phenix # gtk3 theme
adwaita-icon-theme
clearlooks-phenix
zsh
neovim
floorp-bin
@ -69,47 +119,34 @@
wl-clipboard
xorg.xprop
libpulseaudio
dunst # notifications
dunst
rofi-pulse-select
wtype
# - #
# -- Userland USB monunting
# -- USB
usbutils
udiskie
# - #
soteria # polkit
soteria
# -- Fuse
fuse3
fuseiso # mounting ISOs
# - #
fuseiso
westonLite
#xwayland
#xwayland-run
#xwayland-satellite
#themechanger
fastfetch
git
git-credential-manager
bashNonInteractive
#cmake
cmatrix
kdePackages.kwallet
kdePackages.kwallet-pam
kdePackages.kwalletmanager
#ventoy-full-gtk
qemu
wineWowPackages.stable
winetricks
];
nixpkgs.config.permittedInsecurePackages = [
"ventoy-gtk3-1.1.07"
];
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
@ -121,6 +158,28 @@
];
users.users.adrian.packages = with pkgs; [
jellytui
vlc
freerdp
pulsemixer
mtkclient
ipafont
#samfirm-js
#heimdall-gui
libei
libportal
deskflow
android-tools
innoextract
audacity
openrct2
woeusb
nixos-generators
p7zip
azahar
#ventoy-full
ungoogled-chromium
bun
hydralauncher
ruffle
sticky-notes
@ -164,14 +223,15 @@
# androidenv.androidPkgs.tools
# androidenv.androidPkgs.androidsdk
# androidenv.androidPkgs.all.system-images.v36_1.page_size_16kb.x86_64
#jetbrains.idea
jetbrains.idea
kdePackages.gwenview
#kdePackages.partitionmanager
gparted
#gnome-disk-utility
fatresize
gradle
#javaPackages.compiler.openjdk21
javaPackages.compiler.openjdk21
jq
#lmstudio
bottles
transmission_4-qt
@ -181,7 +241,7 @@
dmenu
python313
python313Packages.pykeepass
pavucontrol
#pavucontrol
obs-studio
deluge
libreoffice-qt