392 current 2024-04-17 20:52:27 24.05.20240417.203fac8 6.8.6-zen1 nvidiaProduction nvidiaStable
This commit is contained in:
parent
5b3bae6ac3
commit
41c8af5bc1
6 changed files with 133 additions and 58 deletions
49
hosts/live/configuration.nix
Normal file
49
hosts/live/configuration.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../common/default.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
};
|
||||
|
||||
services = {
|
||||
qemuGuest.enable = true;
|
||||
openssh.settings.PermitRootLogin = lib.mkForce "yes";
|
||||
};
|
||||
|
||||
boot = {
|
||||
supportedFilesystems = lib.mkForce ["btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs"];
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "live";
|
||||
};
|
||||
|
||||
# gnome power settings do not turn off screen
|
||||
systemd = {
|
||||
services.sshd.wantedBy = pkgs.lib.mkForce ["multi-user.target"];
|
||||
targets = {
|
||||
sleep.enable = false;
|
||||
suspend.enable = false;
|
||||
hibernate.enable = false;
|
||||
hybrid-sleep.enable = false;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.nixos = {
|
||||
# imports = [../../modules/home-manager/default.nix];
|
||||
_module.args.theme = import ../../core/theme.nix;
|
||||
|
||||
home.stateVersion = "23.11"; # Please read the comment before changing it.
|
||||
|
||||
home.username = "nixos";
|
||||
home.homeDirectory = "/home/nixos";
|
||||
};
|
||||
users.extraUsers.root.password = "nixos";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue