dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[FEATURE] Adding NixOS support

Open ortoklas opened this issue 4 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Last night I took a wild shot at installing Git ml4w-dotfiles and ended up at the read me page since this is OS now. here is my nix.config I tried ;

Edit this configuration file to define what should be installed on

your system. Help is available in the configuration.nix(5) man page

and in the NixOS manual (accessible by running 'nixos-help').

{ config, pkgs, ... }:

{ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ];

Bootloader.

boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true;

networking.hostName = "nixos"; networking.networkmanager.enable = true;

time.timeZone = "America/Chicago"; i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = { LC_ADDRESS = "en_US.UTF-8"; LC_IDENTIFICATION = "en_US.UTF-8"; LC_MEASUREMENT = "en_US.UTF-8"; LC_MONETARY = "en_US.UTF-8"; LC_NAME = "en_US.UTF-8"; LC_NUMERIC = "en_US.UTF-8"; LC_PAPER = "en_US.UTF-8"; LC_TELEPHONE = "en_US.UTF-8"; LC_TIME = "en_US.UTF-8"; };

Enable the X11 windowing system.

services.xserver.enable = true;

AMD (modern)

services.xserver.videoDrivers = [ "amdgpu" ];

Enable the KDE Plasma 6 Desktop Environment.

services.displayManager.sddm.enable = true; services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.useWayland = true;

Enable Hyprland

programs.hyprland = { enable = true; xwayland.enable = true; };

OpenGL / Mesa

hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; };

services.xserver.xkb = { layout = "us"; variant = ""; };

services.printing.enable = true;

security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; };

users.users.highv = { isNormalUser = true; description = "highv"; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [ kdePackages.kate ]; };

nixpkgs.config.allowUnfree = true;

environment.systemPackages = with pkgs; [ vim wget git micro flameshot neovim fastfetch brave zsh-nix-shell zsh oh-my-zsh zsh-powerlevel10k zplug corectrl unzip unrar duf ncdu nil lxqt.lxqt-policykit v4l-utils wl-clipboard ffmpeg cowsay ripgrep lshw hyprpicker ninja appimage-run yad inxi nh discord tree neovide wineWowPackages.yabridge wineWowPackages.minimal winetricks xorg.xrandr xfce.thunar gparted feh vlc audacious qalculate-qt obs-studio kdePackages.dolphin kdePackages.kate kdePackages.kdenlive kdePackages.yakuake guake gst_all_1.gst-plugins-good kdePackages.qtmultimedia kdePackages.kdenlive glaxnimate packagekit

# ML4W Hyprland dependencies
waybar
rofi-wayland
dunst
swww
kitty
wofi
wlogout
swaylock-effects
grim
slurp
cliphist
brightnessctl
pamixer
networkmanagerapplet
blueman
pavucontrol
nwg-look
qt5ct
qt6ct
libsForQt5.qt5ct
swappy
imagemagick
python3

];

programs.firefox.enable = true;

programs.zsh = { enable = true; autosuggestions.enable = true; zsh-autoenv.enable = true; syntaxHighlighting.enable = true; ohMyZsh = { enable = true; theme = "agnoster"; plugins = [ "git" "npm" "history" "node" "rust" "deno" "sudo" ]; }; };

users.defaultUserShell = pkgs.zsh;

system.stateVersion = "24.05";

nix.gc = { automatic = true; dates = "weekly"; options = "--delete-older-than 7d"; }; }

No Flakes just home.nix for my kitty stuff to play with .

Image

Describe the solution you'd like

Can we get a list of basic NixOS /PlasmaKDE/NixOS ml4w implementations?

Describe alternatives you've considered

No response

Additional context

I hate to open up another thread ..been lurking around for the past few years hoping one day we will get NixOS support Thank you

Support or Contribution

ortoklas avatar Jul 17 '26 22:07 ortoklas

Made something similar for NixOS if anyone is interested ans sick of all the arch update ..haha

https://github.com/ortoklas/Nix4P

ortoklas avatar Jul 31 '26 08:07 ortoklas