mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
docs
This commit is contained in:
parent
d41f8c1b0c
commit
c1980fd3a6
@ -67,6 +67,6 @@
|
|||||||
# accidentally delete configuration.nix.
|
# accidentally delete configuration.nix.
|
||||||
# system.copySystemConfiguration = true;
|
# system.copySystemConfiguration = true;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
@ -70,6 +70,6 @@
|
|||||||
# https://en.wikipedia.org/wiki/Linux-libre
|
# https://en.wikipedia.org/wiki/Linux-libre
|
||||||
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by 'nixos-generate-config'
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
@ -47,6 +47,6 @@
|
|||||||
boot.kernelParams = [];
|
boot.kernelParams = [];
|
||||||
boot.kernelPackages = pkgs.linuxPackages;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by 'nixos-generate-config'
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
@ -56,6 +56,6 @@
|
|||||||
];
|
];
|
||||||
boot.kernelPackages = pkgs.linuxPackages;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,6 @@
|
|||||||
boot.kernelParams = [];
|
boot.kernelParams = [];
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
@ -88,6 +88,6 @@
|
|||||||
# https://en.wikipedia.org/wiki/Linux-libre
|
# https://en.wikipedia.org/wiki/Linux-libre
|
||||||
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
#boot.kernelPackages = pkgs.linuxPackages-libre;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,6 @@
|
|||||||
];
|
];
|
||||||
boot.kernelPackages = pkgs.linuxPackages;
|
boot.kernelPackages = pkgs.linuxPackages;
|
||||||
|
|
||||||
# Most users should never change this value after the initial install, for any reason, even if you’ve upgraded your system to a new NixOS release.
|
# Most users should never change this value after the initial install, for any reason, even if you've upgraded your system to a new NixOS release.
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@
|
|||||||
# Delete all files in /tmp during boot.
|
# Delete all files in /tmp during boot.
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
|
|
||||||
# Whether to install NixOS’s own documentation.
|
# Whether to install NixOS's own documentation.
|
||||||
documentation.nixos.enable = false;
|
documentation.nixos.enable = false;
|
||||||
|
|
||||||
# Firewall.
|
# Firewall.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# Another community project for declarative Flatpak app installations:
|
# Another community project for declarative Flatpak app installations:
|
||||||
# - https://github.com/gmodena/nix-flatpak#packages
|
# - https://github.com/gmodena/nix-flatpak#packages
|
||||||
# > You could try to clone the repo to a location relative to your configuration.nix, and import modules/nixos.nix directly. However, I suspect things will break.
|
# > You could try to clone the repo to a location relative to your configuration.nix, and import modules/nixos.nix directly. However, I suspect things will break.
|
||||||
# > I’ll sandbox some time to try this out the upcoming weekend.
|
# > I'll sandbox some time to try this out the upcoming weekend.
|
||||||
# > https://discourse.nixos.org/t/managing-flatpaks-declaratively/34532/3
|
# > https://discourse.nixos.org/t/managing-flatpaks-declaratively/34532/3
|
||||||
#F
|
#F
|
||||||
# Let's just use the default way:
|
# Let's just use the default way:
|
||||||
|
Loading…
Reference in New Issue
Block a user