spoof os-release
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
../../modules/nixos/network.nix
|
||||
../../modules/nixos/programs.nix
|
||||
./packages.nix
|
||||
./other/distro.nix
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
|
||||
22
hosts/default/other/distro.nix
Normal file
22
hosts/default/other/distro.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
environment.etc."os-release" = {
|
||||
source = pkgs.writeText "os-release" ''
|
||||
NAME="Arch Linux"
|
||||
PRETTY_NAME="Arch Linux"
|
||||
ID=arch
|
||||
BUILD_ID=rolling
|
||||
ANSI_COLOR="38;2;23;147;209"
|
||||
HOME_URL="https://archlinux.org/"
|
||||
DOCUMENTATION_URL="https://wiki.archlinux.org/"
|
||||
SUPPORT_URL="https://bbs.archlinux.org/"
|
||||
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
|
||||
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
|
||||
LOGO=archlinux-logo
|
||||
'';
|
||||
mode = "0644";
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user