Initial commit
This commit is contained in:
3
modules/docker.nix
Normal file
3
modules/docker.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ ... } : {
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
3
modules/openssh.nix
Normal file
3
modules/openssh.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ ... } : {
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
6
modules/packages.nix
Normal file
6
modules/packages.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ pkgs, ... } : {
|
||||
environment.systemPackages = with pkgs; [
|
||||
icu
|
||||
glibc
|
||||
];
|
||||
}
|
||||
6
modules/system/boot/grub-efi.nix
Normal file
6
modules/system/boot/grub-efi.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... } : {
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader.grub.efiSupport = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
}
|
||||
8
modules/system/default-user.nix
Normal file
8
modules/system/default-user.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... } : {
|
||||
users.users = {
|
||||
axolotsh = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
3
modules/system/experimental-features.nix
Normal file
3
modules/system/experimental-features.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ ... } : {
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
}
|
||||
3
modules/system/filesystem.nix
Normal file
3
modules/system/filesystem.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ ... } : {
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
}
|
||||
17
modules/system/localization.nix
Normal file
17
modules/system/localization.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ ... } : {
|
||||
time.timeZone = "Europe/Moscow";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "ru_RU.UTF-8";
|
||||
LC_IDENTIFICATION = "ru_RU.UTF-8";
|
||||
LC_MEASUREMENT = "en_GB.UTF-8";
|
||||
LC_MONETARY = "ru_RU.UTF-8";
|
||||
LC_NAME = "ru_RU.UTF-8";
|
||||
LC_NUMERIC = "en_US.UTF-8";
|
||||
LC_PAPER = "ru_RU.UTF-8";
|
||||
LC_TELEPHONE = "ru_RU.UTF-8";
|
||||
LC_TIME = "en_GB.UTF-8";
|
||||
};
|
||||
}
|
||||
4
modules/system/proxy.nix
Normal file
4
modules/system/proxy.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ ... } : {
|
||||
networking.proxy.default = "http://user:password@proxy:port/";
|
||||
networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
}
|
||||
3
modules/system/unfree.nix
Normal file
3
modules/system/unfree.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ ... } : {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
||||
3
modules/system/wireless.nix
Normal file
3
modules/system/wireless.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ ... } : {
|
||||
networking.wireless.enable = true;
|
||||
}
|
||||
4
modules/vscode-server.nix
Normal file
4
modules/vscode-server.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ pkgs, ... } : {
|
||||
environment.systemPackages = with pkgs; [ vscode.fhs ];
|
||||
programs.nix-ld.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user