mew
This commit is contained in:
parent
b69b80c93f
commit
11bd02cf4f
18 changed files with 177 additions and 26 deletions
82
instances/minos/configuration.nix
Normal file
82
instances/minos/configuration.nix
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nixpkgs.system = "aarch64-linux";
|
||||
nixpkgs.buildPlatform = { system = "x86_64-linux"; };
|
||||
nixpkgs.hostPlatform = { system = "aarch64-linux"; };
|
||||
imports = [ (import "${inputs.mobile-nixos}/lib/configuration.nix" { device = "lenovo-krane";} ) ];
|
||||
mobile.boot.stage-1.kernel.useStrictKernelConfig = lib.mkDefault true;
|
||||
# hardware.keyboard.zsa.enable = true;
|
||||
services.gnome.core-utilities.enable = lib.mkForce false;
|
||||
users.users.root.initialPassword = "hunter2";
|
||||
# users.users.xyno.initialPassword = "hunter2";
|
||||
# home-manager.users.${config.xyno.system.user.name} = (
|
||||
# { ... }:
|
||||
# {
|
||||
# xyno.git.enable = true;
|
||||
# xyno.borgmatic.enable = true;
|
||||
# home.packages = [
|
||||
# # work
|
||||
# pkgs.jetbrains.rider
|
||||
# (pkgs.firefox-devedition.overrideAttrs (super: self: { meta.priority = 1; }))
|
||||
# ];
|
||||
# services.flatpak.update.auto.enable = true;
|
||||
# services.flatpak = {
|
||||
# enable = true;
|
||||
# packages = [
|
||||
# "com.unicornsonlsd.finamp"
|
||||
# # "io.github.softfever.OrcaSlicer"
|
||||
# "io.anytype.anytype"
|
||||
# "org.bionus.Grabber"
|
||||
# "org.getmonero.Monero"
|
||||
# {
|
||||
# appId = "org.gimp.GIMP";
|
||||
# origin = "flathub-beta";
|
||||
# }
|
||||
# "org.kicad.KiCad"
|
||||
# "org.pencil2d.Pencil2D"
|
||||
# ];
|
||||
# };
|
||||
# }
|
||||
# );
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# aerc
|
||||
# glib # rider wants gsettings
|
||||
# ];
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
networking.firewall.allowedTCPPorts = [ 1880 2021 ];
|
||||
networking.firewall.allowedUDPPorts = [ 1880 2021 ];
|
||||
|
||||
# services.tailscale.enable = true;
|
||||
# services.tailscale.useRoutingFeatures = "client";
|
||||
# xyno.desktop.common-programs.enable = true;
|
||||
# xyno.hardware.kmonad.enable = true;
|
||||
# xyno.presets.cli.enable = true;
|
||||
# xyno.presets.gui.enable = true;
|
||||
# xyno.presets.home-manager.enable = true;
|
||||
# xyno.system.user.enable = true;
|
||||
# xyno.user-services.syncthing = {
|
||||
# enable = true;
|
||||
# tray = true;
|
||||
# };
|
||||
xyno.networking.networkd = {
|
||||
enable = true;
|
||||
enableWifi = true;
|
||||
};
|
||||
# xyno.desktop.easyeffects.enable = true;
|
||||
# xyno.desktop.fcitx5.enable = true;
|
||||
# hardware.bluetooth.enable = true;
|
||||
# services.blueman.enable = true;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
programs.kdeconnect.enable = true;
|
||||
# services.flatpak.enable = true;
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
programs.nh.enable = true;
|
||||
}
|
||||
4
instances/minos/default.nix
Normal file
4
instances/minos/default.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
modules = [ ./configuration.nix ];
|
||||
hostName = "minos";
|
||||
}
|
||||
|
|
@ -6,8 +6,10 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
nixpkgs.system = "x86_64-linux";
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
home-manager.users.${config.xyno.system.user.name} = (
|
||||
{ ... }:
|
||||
{
|
||||
|
|
@ -64,7 +66,8 @@
|
|||
enable = true;
|
||||
enableWifi = true;
|
||||
};
|
||||
xyno.desktop.fcitx5.enable = true;
|
||||
xyno.desktop.easyeffects.enable = true;
|
||||
# xyno.desktop.fcitx5.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
modules = [ ./configuration.nix ];
|
||||
system = "x86_64-linux";
|
||||
hostName = "theseus";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue