works now
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
[
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
|
||||
# Allow Nix command and flakes (ofc)
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
@@ -57,8 +58,8 @@
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
intel-vaapi-driver
|
||||
libva-vdpau-driver
|
||||
];
|
||||
};
|
||||
|
||||
@@ -216,6 +217,7 @@
|
||||
pkgs.vscode-langservers-extracted
|
||||
pkgs.emmet-ls
|
||||
pkgs.ripgrep
|
||||
pkgs.nil
|
||||
pkgs.typescript-language-server
|
||||
pkgs.tailwindcss-language-server
|
||||
pkgs.stylua
|
||||
|
||||
12
flake.lock
generated
12
flake.lock
generated
@@ -2,16 +2,16 @@
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1735563628,
|
||||
"narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=",
|
||||
"owner": "NixOS",
|
||||
"lastModified": 1761907660,
|
||||
"narHash": "sha256-kJ8lIZsiPOmbkJypG+B5sReDXSD1KGu2VEPNqhRa/ew=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798",
|
||||
"rev": "2fb006b87f04c4d3bdf08cfdbc7fab9c13d94a15",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-24.05",
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
28
flake.nix
28
flake.nix
@@ -1,17 +1,23 @@
|
||||
{
|
||||
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:
|
||||
{
|
||||
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
outputs = { self, nixpkgs }: let
|
||||
system = "x86_64-linux"; # adjust if needed
|
||||
hardwareConfig = import /etc/nixos/hardware-configuration.nix;
|
||||
in
|
||||
{
|
||||
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
||||
modules = [
|
||||
./configuration.nix
|
||||
hardwareConfig
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user