mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat(xfce): add
This commit is contained in:
parent
d37bd2c669
commit
4932e4fd0d
34 changed files with 490 additions and 203 deletions
25
nixos/environments/xfce/xfce.nix
Normal file
25
nixos/environments/xfce/xfce.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ pkgs, ... }: {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
libinput.touchpad = {
|
||||
tappingButtonMap = "lrm";
|
||||
clickMethod = "clickfinger";
|
||||
};
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
xfce.enable = true;
|
||||
};
|
||||
displayManager.gdm.enable = true;
|
||||
displayManager.defaultSession = "xfce";
|
||||
xkbOptions = "ctrl:nocaps";
|
||||
};
|
||||
programs.xfconf.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
xfce.xfce4-pulseaudio-plugin
|
||||
xfce.xfce4-whiskermenu-plugin
|
||||
xclip
|
||||
];
|
||||
|
||||
services.colord.enable = true;
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ _: {
|
|||
enable = true;
|
||||
};
|
||||
consoleLogLevel = 0;
|
||||
kernelParams = [ "quiet" ];
|
||||
kernelParams = ["quiet"];
|
||||
initrd = {
|
||||
verbose = false;
|
||||
systemd.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{pkgs, ...}: {
|
||||
services = {
|
||||
fwupd = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: {
|
||||
imports =
|
||||
(with tree.nixos.profiles; [
|
||||
uefi
|
||||
uefi
|
||||
])
|
||||
++ [
|
||||
inputs.nixos-hardware.outputs.nixosModules.framework-13-7040-amd
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
{config, lib, ... }: let
|
||||
inherit (lib.modules) mkIf;
|
||||
in {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
in {
|
||||
boot.loader = mkIf (config.boot.loader.grub.enable) {
|
||||
timeout = null;
|
||||
grub = {
|
||||
|
|
|
|||
45
nixos/profiles/gaming/lutris.nix
Normal file
45
nixos/profiles/gaming/lutris.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{pkgs, ...}: {
|
||||
hardware.opengl = {
|
||||
driSupport32Bit = true;
|
||||
driSupport = true;
|
||||
};
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
rocm-opencl-icd
|
||||
rocm-opencl-runtime
|
||||
amdvlk
|
||||
];
|
||||
hardware.opengl.extraPackages32 = with pkgs; [
|
||||
driversi686Linux.amdvlk
|
||||
driversi686Linux.mesa
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
(lutris.override {
|
||||
extraPkgs = pkgs: [
|
||||
pkgs.libnghttp2
|
||||
pkgs.winetricks
|
||||
pkgs.jansson
|
||||
pkgs.samba
|
||||
];
|
||||
extraLibraries = pkgs: [
|
||||
pkgs.jansson
|
||||
pkgs.samba
|
||||
pkgs.xz
|
||||
];
|
||||
})
|
||||
|
||||
# support 32-bit only
|
||||
wine
|
||||
|
||||
# support 64-bit only
|
||||
wine64
|
||||
|
||||
# wine-staging (version with experimental features)
|
||||
wineWowPackages.staging
|
||||
|
||||
# winetricks (all versions)
|
||||
winetricks
|
||||
|
||||
# native wayland support (unstable)
|
||||
wineWowPackages.waylandFull
|
||||
];
|
||||
}
|
||||
5
nixos/profiles/gaming/parsec.nix
Normal file
5
nixos/profiles/gaming/parsec.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
parsec-bin
|
||||
];
|
||||
}
|
||||
13
nixos/profiles/graphical/avahi.nix
Normal file
13
nixos/profiles/graphical/avahi.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
services.avahi = {
|
||||
nssmdns4 = true;
|
||||
enable = true;
|
||||
ipv4 = true;
|
||||
ipv6 = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
addresses = true;
|
||||
workstation = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
corefonts
|
||||
vistafonts
|
||||
open-dyslexic
|
||||
chicago95
|
||||
];
|
||||
enableDefaultPackages = true;
|
||||
fontDir.enable = true;
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "qt";
|
||||
pinentryPackage = pkgs.pinentry-gnome3;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
9
nixos/profiles/sdr.nix
Normal file
9
nixos/profiles/sdr.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
rtl-sdr
|
||||
sdrpp
|
||||
sdrangel
|
||||
];
|
||||
hardware.rtl-sdr.enable = true;
|
||||
users.users.kat.extraGroups = ["plugdev"];
|
||||
}
|
||||
16
nixos/profiles/secureboot.nix
Normal file
16
nixos/profiles/secureboot.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{pkgs, lib, ...}: let
|
||||
inherit (lib.modules) mkForce;
|
||||
in {
|
||||
environment.systemPackages = with pkgs; [
|
||||
sbctl
|
||||
];
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = mkForce false;
|
||||
};
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [bluez5-experimental];
|
||||
|
||||
environment.etc = {
|
||||
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||
services.pipewire.wireplumber.configPackages = [
|
||||
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/10-bluez.conf" ''
|
||||
bluez_monitor.properties = {
|
||||
["bluez5.enable-sbc-xq"] = true,
|
||||
["bluez5.enable-msbc"] = true,
|
||||
["bluez5.enable-hw-volume"] = true,
|
||||
["bluez5.headset-roles"] = "[ hsp_hs hsp_ag hfp_hf hfp_ag ]"
|
||||
}
|
||||
'';
|
||||
};
|
||||
'')
|
||||
];
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue