auto-format
This commit is contained in:
parent
b884f4d835
commit
2a7665feba
5 changed files with 106 additions and 39 deletions
|
|
@ -2,28 +2,39 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./security.nix
|
||||
./hardware-configuration.nix
|
||||
./hardware.nix
|
||||
./bootloader.nix
|
||||
<home-manager/nixos>
|
||||
];
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./security.nix
|
||||
./hardware-configuration.nix
|
||||
./hardware.nix
|
||||
./bootloader.nix
|
||||
<home-manager/nixos>
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
||||
networking.hostName = "niczos"; # Define your hostname.
|
||||
networking.networkmanager.enable = true;
|
||||
time.timeZone = "Europe/Paris";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
virtualisation.waydroid = {
|
||||
enable = true;
|
||||
package = pkgs.waydroid-nftables;
|
||||
virtualisation = {
|
||||
waydroid = {
|
||||
enable = true;
|
||||
package = pkgs.waydroid-nftables;
|
||||
};
|
||||
docker = {
|
||||
enable = true;
|
||||
storageDriver = "btrfs";
|
||||
};
|
||||
};
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
|
@ -55,13 +66,22 @@
|
|||
defaultUnit = "graphical.target";
|
||||
services."getty@tty1" = {
|
||||
overrideStrategy = "asDropin";
|
||||
serviceConfig.ExecStart = ["" "@${pkgs.util-linux}/sbin/agetty agetty --login-program ${config.services.getty.loginProgram} --autologin zo --noclear --keep-baud %I 115200,38400,9600 $TERM"];
|
||||
serviceConfig.ExecStart = [
|
||||
""
|
||||
"@${pkgs.util-linux}/sbin/agetty agetty --login-program ${config.services.getty.loginProgram} --autologin zo --noclear --keep-baud %I 115200,38400,9600 $TERM"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
users.users.zo = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "audio" "video" "network" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"audio"
|
||||
"video"
|
||||
"network"
|
||||
"docker"
|
||||
];
|
||||
packages = [ pkgs.home-manager ];
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
|
|
@ -84,6 +104,7 @@
|
|||
mplus-outline-fonts.githubRelease
|
||||
dina-font
|
||||
proggyfonts
|
||||
font-awesome
|
||||
];
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
|
|
@ -111,4 +132,3 @@
|
|||
system.stateVersion = "26.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue