treewide: minor cleanups

This commit is contained in:
Anthony Rodriguez 2024-11-06 16:49:58 +01:00
parent 0e46a1e15d
commit c37edb347c
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
15 changed files with 19 additions and 28 deletions

View file

@ -1,8 +1,4 @@
{
inputs,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
./browsers
./media

View file

@ -2,9 +2,7 @@
lib,
pkgs,
...
}: let
inherit (lib) getExe;
in {
}: {
programs.helix = {
enable = true;
settings = {

View file

@ -1,3 +1,3 @@
_: {
{
services.udiskie.enable = true;
}

View file

@ -1,5 +1,4 @@
{
lib,
config,
inputs,
pkgs,

View file

@ -1,4 +1,4 @@
_: {
{
programs.wezterm = {
enable = true;
# package = inputs.wezterm.packages.${pkgs.system}.default;

View file

@ -1,4 +1,4 @@
_: {
{
programs = {
direnv = {
enable = true;

View file

@ -1,4 +1,4 @@
_: {
{
programs.zellij = {
enable = true;
settings = {

View file

@ -1,4 +1,4 @@
_: {
{
programs.starship = {
enable = true;
enableTransience = true;

View file

@ -1,4 +1,4 @@
_: {
{
programs.zoxide = {
enable = true;
enableBashIntegration = false;

View file

@ -1,8 +1,10 @@
{modulesPath, ...}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
boot.initrd.kernelModules = ["nvme"];
boot = {
loader.grub.device = "/dev/sda";
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
initrd.kernelModules = ["nvme"];
};
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";

View file

@ -1,4 +1,4 @@
_: {
{
nixpkgs = {
config = {
allowUnfree = true;

View file

@ -1,4 +1,4 @@
{pkgs, ...}: {
{
programs = {
steam.enable = true;
gamemode.enable = true;

View file

@ -1,13 +1,9 @@
{
inputs,
pkgs,
...
}: {
{pkgs, ...}: {
imports = [
./docker.nix
./gnupg.nix
./pipewire.nix
./kmscon.nix
];
services.udev.packages = [pkgs.segger-jlink inputs.self.packages.${pkgs.system}.mcuxpresso.ide];
services.udev.packages = [pkgs.segger-jlink];
}

View file

@ -1,4 +1,4 @@
_: {
{
services.kanata = {
enable = true;
keyboards.default = {

View file

@ -1,4 +1,4 @@
_: {
{
hardware.pulseaudio.enable = false;
# rtkit is optional but recommended
security.rtkit.enable = true;