ц
Size: a a a
ц
S
AS
[root@treeroot:/etc/nixos]# nixos-rebuild boot
error: 'flake' is not a recognised command
Try 'nix --help' for more information.
{
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}
AS
{
description = "description";
edition = 201909;
inputs = {
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs-channels";
ref = "nixpkgs-unstable";
};
};
outputs = { nixpkgs, ... }: {
nixosConfigurations.hostname = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ (import ./configuration.nix) ];
};
};
}
AS
S
{
config,
pkgs,
...
}:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5-new-kernel.nix>
# Provide an initial copy of the NixOS channel so that the user
# doesn't need to run "nix-channel --update" first.
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
];
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
boot.extraModulePackages = with config.boot.kernelPackages; [
(rtlwifi_new.overrideAttrs (attrs: {
src = pkgs.fetchzip {
url = "https://github.com/lwfinger/rtlwifi_new/archive/a4cf600e0c65fe7bad51a61301156650124e27b5.zip";
sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
};
}))
];
boot.extraModprobeConfig = "options rtl8723de ant_sel=2";
boot.loader.grub.forcei686 = true;
services.xserver.desktopManager.lxqt.enable = true;
services.xserver.displayManager.defaultSession = "lxqt";
environment.systemPackages = with pkgs; [
grub2_full
grub2
firefox
mc
];
}
LO
LO
LO
LO
S
LO
LO
ц
АБ