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-07-18 01:07:11 +02:00
|
|
|
inherit (lib) mkForce;
|
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)
|
2024-07-17 21:29:53 +02:00
|
|
|
alacritty
|
2024-06-25 01:10:49 +02:00
|
|
|
eza
|
|
|
|
fish
|
|
|
|
git
|
|
|
|
gpg
|
|
|
|
gtk
|
|
|
|
htop
|
|
|
|
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-17 12:49:30 +02:00
|
|
|
|
|
|
|
config = {
|
2024-07-18 01:07:11 +02:00
|
|
|
programs.man.generateCaches = mkForce false;
|
2024-07-18 04:45:40 +02:00
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"sm/puri/phosh/lockscreen" = {
|
|
|
|
shuffle-keypad = true;
|
|
|
|
};
|
2024-07-18 04:46:02 +02:00
|
|
|
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
show-battery-percentage = true;
|
|
|
|
};
|
2024-07-18 04:46:32 +02:00
|
|
|
|
|
|
|
"org/gnome/eog/ui" = {
|
|
|
|
image-gallery = true;
|
|
|
|
sidebar = false;
|
|
|
|
};
|
2024-07-18 04:45:40 +02:00
|
|
|
};
|
2024-07-17 12:49:30 +02:00
|
|
|
};
|
2024-06-25 01:10:49 +02:00
|
|
|
};
|
|
|
|
|
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
|
|
|
|
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";
|
2024-07-17 12:49:30 +02:00
|
|
|
mullvad = true;
|
2024-06-20 19:22:41 +02:00
|
|
|
};
|
2024-06-20 17:08:22 +02:00
|
|
|
|
2024-06-24 22:21:22 +02:00
|
|
|
hardware.keyboardBinds = true;
|
2024-06-16 18:50:49 +02:00
|
|
|
};
|
|
|
|
|
2024-06-15 17:56:02 +02:00
|
|
|
programs = {
|
|
|
|
calls.enable = true;
|
2024-07-18 01:07:11 +02:00
|
|
|
|
|
|
|
cdemu.enable = 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
|
|
|
|
2024-06-15 16:46:45 +02:00
|
|
|
networking = {
|
|
|
|
wireless.enable = false;
|
2024-06-15 18:07:24 +02:00
|
|
|
wireguard.enable = true;
|
2024-07-18 01:07:11 +02:00
|
|
|
|
|
|
|
firewall.checkReversePath = mkForce false;
|
2024-06-15 16:46:45 +02:00
|
|
|
};
|
|
|
|
|
2024-06-15 18:06:53 +02:00
|
|
|
services = {
|
|
|
|
openssh.enable = true;
|
2024-07-18 01:07:11 +02:00
|
|
|
|
|
|
|
udisks2.enable = mkForce false;
|
|
|
|
pipewire.enable = mkForce false;
|
|
|
|
};
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
enableContainers = false;
|
|
|
|
|
|
|
|
binfmt.emulatedSystems = mkForce [ ];
|
|
|
|
loader.systemd-boot.enable = mkForce false;
|
2024-06-17 17:27:00 +02:00
|
|
|
};
|
|
|
|
|
2024-07-17 12:49:30 +02:00
|
|
|
documentation.man.generateCaches = false;
|
|
|
|
|
2024-07-18 01:07:11 +02:00
|
|
|
hardware.graphics.enable32Bit = mkForce false;
|
|
|
|
virtualisation.virtualbox.host.enable = mkForce false;
|
|
|
|
|
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
|
|
|
}
|