2024-07-14 22:54:23 +02:00
|
|
|
{ self, pkgs, lib, ... }:
|
2024-06-15 16:46:45 +02:00
|
|
|
|
2024-06-15 17:56:02 +02:00
|
|
|
let
|
2024-06-16 18:50:49 +02:00
|
|
|
inherit (builtins) attrValues;
|
2024-06-15 17:56:02 +02:00
|
|
|
in
|
2024-06-15 16:46:45 +02:00
|
|
|
{
|
2024-06-28 05:02:38 +02:00
|
|
|
imports = attrValues self.nixosModules;
|
2024-06-25 02:12:02 +02:00
|
|
|
|
|
|
|
nixpkgs.overlays = attrValues {
|
2024-07-14 23:09:46 +02:00
|
|
|
inherit (self.overlays)
|
|
|
|
phinger-cursors
|
|
|
|
;
|
2024-06-25 02:12:02 +02:00
|
|
|
};
|
2024-06-25 01:10:49 +02:00
|
|
|
|
|
|
|
home-manager.sharedModules = attrValues {
|
|
|
|
inherit (self.homeManagerModules)
|
|
|
|
eza
|
|
|
|
fish
|
|
|
|
git
|
|
|
|
gpg
|
|
|
|
gtk
|
|
|
|
htop
|
2024-07-14 23:09:46 +02:00
|
|
|
kitty
|
2024-06-25 01:10:49 +02:00
|
|
|
librewolf
|
2024-07-14 23:09:46 +02:00
|
|
|
mpv
|
|
|
|
ncmpcpp
|
2024-06-25 01:10:49 +02:00
|
|
|
neovim
|
|
|
|
starship
|
2024-07-14 23:09:46 +02:00
|
|
|
thunar
|
2024-06-25 01:10:49 +02:00
|
|
|
xdg-user-dirs
|
|
|
|
xresources
|
|
|
|
;
|
|
|
|
};
|
|
|
|
|
2024-07-08 20:07:18 +02:00
|
|
|
environment.systemPackages = attrValues {
|
|
|
|
inherit (self.packages.${pkgs.system})
|
|
|
|
webp-thumbnailer
|
|
|
|
;
|
2024-07-16 18:27:17 +02:00
|
|
|
inherit (pkgs.gnome)
|
|
|
|
gnome-contacts
|
|
|
|
gnome-sound-recorder
|
|
|
|
gnome-maps
|
|
|
|
;
|
|
|
|
|
|
|
|
inherit (pkgs)
|
|
|
|
gurk-rs
|
|
|
|
android-tools
|
|
|
|
chatty
|
|
|
|
gnome-console
|
|
|
|
megapixels
|
|
|
|
fractal
|
|
|
|
g4music
|
|
|
|
livi
|
|
|
|
papers
|
|
|
|
phosh-mobile-settings
|
|
|
|
resources
|
|
|
|
tuba
|
|
|
|
caerbannog
|
|
|
|
eog
|
|
|
|
geary
|
|
|
|
;
|
2024-07-08 20:07:18 +02:00
|
|
|
};
|
2024-06-16 21:45:01 +02:00
|
|
|
|
2024-06-19 08:09:54 +02:00
|
|
|
modules = {
|
|
|
|
system = {
|
|
|
|
hostName = "mobile-nixos";
|
|
|
|
stateVersion = "23.11";
|
|
|
|
phone = true;
|
2024-06-16 21:45:01 +02:00
|
|
|
};
|
|
|
|
|
2024-06-20 19:22:41 +02:00
|
|
|
desktop = {
|
|
|
|
phone = true;
|
|
|
|
};
|
2024-06-20 17:08:22 +02:00
|
|
|
|
2024-06-24 22:21:22 +02:00
|
|
|
hardware.keyboardBinds = true;
|
2024-06-22 01:12:01 +02:00
|
|
|
|
|
|
|
system = {
|
|
|
|
mullvad = true;
|
|
|
|
};
|
2024-06-16 18:50:49 +02:00
|
|
|
};
|
|
|
|
|
2024-07-15 17:37:30 +02:00
|
|
|
hardware.graphics.enable32Bit = lib.mkForce false;
|
|
|
|
virtualisation.virtualbox.host.enable = lib.mkForce false;
|
|
|
|
|
2024-06-15 17:56:02 +02:00
|
|
|
programs = {
|
|
|
|
calls.enable = true;
|
2024-07-15 17:37:30 +02:00
|
|
|
cdemu.enable = lib.mkForce false;
|
2024-06-15 17:56:02 +02:00
|
|
|
};
|
2024-06-15 16:46:45 +02:00
|
|
|
|
2024-06-27 05:57:01 +02:00
|
|
|
services.pipewire.enable = lib.mkForce false;
|
2024-07-17 11:55:08 +02:00
|
|
|
boot.enableContainers = false;
|
2024-06-27 05:57:01 +02:00
|
|
|
|
2024-06-15 16:46:45 +02:00
|
|
|
networking = {
|
|
|
|
wireless.enable = false;
|
2024-06-15 18:07:24 +02:00
|
|
|
wireguard.enable = true;
|
2024-06-15 16:46:45 +02:00
|
|
|
};
|
|
|
|
|
2024-06-15 18:06:53 +02:00
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
2024-07-15 17:37:30 +02:00
|
|
|
udisks2.enable = lib.mkForce false;
|
2024-06-17 17:27:00 +02:00
|
|
|
};
|
|
|
|
|
2024-06-28 19:55:20 +02:00
|
|
|
powerManagement = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
cpufreq = rec {
|
|
|
|
min = 648000;
|
|
|
|
max = min;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpuFreqGovernor = "powersave";
|
|
|
|
};
|
2024-06-15 16:46:45 +02:00
|
|
|
}
|