works now

This commit is contained in:
voidarclabs
2025-11-03 13:47:02 +00:00
parent 9cdd47a29b
commit 15c2b55e5c
3 changed files with 32 additions and 24 deletions

View File

@@ -2,9 +2,10 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [
./hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
# Allow Nix command and flakes (ofc) # Allow Nix command and flakes (ofc)
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -57,8 +58,8 @@
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
vaapiIntel intel-vaapi-driver
vaapiVdpau libva-vdpau-driver
]; ];
}; };
@@ -216,6 +217,7 @@
pkgs.vscode-langservers-extracted pkgs.vscode-langservers-extracted
pkgs.emmet-ls pkgs.emmet-ls
pkgs.ripgrep pkgs.ripgrep
pkgs.nil
pkgs.typescript-language-server pkgs.typescript-language-server
pkgs.tailwindcss-language-server pkgs.tailwindcss-language-server
pkgs.stylua pkgs.stylua

12
flake.lock generated
View File

@@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1735563628, "lastModified": 1761907660,
"narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=", "narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798", "rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixos-24.05", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@@ -1,15 +1,21 @@
{ {
description = "My NixOS system configuration"; description = "Impure NixOS flake for mobile02";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }@inputs: outputs = { self, nixpkgs }: let
system = "x86_64-linux"; # adjust if needed
hardwareConfig = import /etc/nixos/hardware-configuration.nix;
in
{ {
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem { nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; inherit system;
modules = [ modules = [
./configuration.nix ./configuration.nix
/etc/nixos/hardware-configuration.nix hardwareConfig
]; ];
}; };
}; };