mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +01:00
refactor
This commit is contained in:
parent
447a27e377
commit
d363711695
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# adb and fastboot
|
# adb and fastboot
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# See also:
|
# See also:
|
||||||
# Temporary workaround until https://github.com/nix-community/home-manager/issues/3447 is merged.
|
# Temporary workaround until https://github.com/nix-community/home-manager/issues/3447 is merged.
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Firmware.
|
# Firmware.
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# For each instance, a service and timer will be created:
|
# For each instance, a service and timer will be created:
|
||||||
# systemctl list-unit-files | grep btrbk
|
# systemctl list-unit-files | grep btrbk
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
lib.maintainers = {
|
lib.maintainers = {
|
||||||
langbeindaniel = {
|
langbeindaniel = {
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://nixos.wiki/wiki/Docker#Installation
|
# https://nixos.wiki/wiki/Docker#Installation
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Unlock encrypted root partition remotely with SSH.
|
# Unlock encrypted root partition remotely with SSH.
|
||||||
# TODO: Some manual steps are required, see https://nixos.wiki/wiki/Remote_LUKS_Unlocking#Prepare_SSH_host_keys
|
# TODO: Some manual steps are required, see https://nixos.wiki/wiki/Remote_LUKS_Unlocking#Prepare_SSH_host_keys
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable firmware update daemon
|
# Enable firmware update daemon
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Don't install all programs of the GNOME desktop.
|
# Don't install all programs of the GNOME desktop.
|
||||||
# https://nixos.wiki/wiki/GNOME#Excluding_some_GNOME_applications_from_the_default_install
|
# https://nixos.wiki/wiki/GNOME#Excluding_some_GNOME_applications_from_the_default_install
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://github.com/danieldk/nix-home/blob/master/home/cfg/desktop.nix
|
# https://github.com/danieldk/nix-home/blob/master/home/cfg/desktop.nix
|
||||||
# https://github.com/Martins3/My-Linux-Config/blob/master/nixpkgs/home/app/gnome.nix
|
# https://github.com/Martins3/My-Linux-Config/blob/master/nixpkgs/home/app/gnome.nix
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Example: https://github.com/nix-community/home-manager/issues/284#issuecomment-1321199263
|
# Example: https://github.com/nix-community/home-manager/issues/284#issuecomment-1321199263
|
||||||
# https://the-empire.systems/nixos-gnome-settings-and-keyboard-shortcuts
|
# https://the-empire.systems/nixos-gnome-settings-and-keyboard-shortcuts
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://wiki.archlinux.org/title/HiDPI#Wayland
|
# https://wiki.archlinux.org/title/HiDPI#Wayland
|
||||||
# Results in blurry font in non-Wayland applications :/
|
# Results in blurry font in non-Wayland applications :/
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Systemd Journal Monitoring.
|
# Systemd Journal Monitoring.
|
||||||
# Alternative:
|
# Alternative:
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Don't suspend if laptop lid is closed while plugged in.
|
# Don't suspend if laptop lid is closed while plugged in.
|
||||||
# https://unix.stackexchange.com/a/307498
|
# https://unix.stackexchange.com/a/307498
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Nextcloud sync client
|
# Nextcloud sync client
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Use NitroKey USB smartcard with SSH.
|
# Use NitroKey USB smartcard with SSH.
|
||||||
# https://nixos.wiki/wiki/Nitrokey
|
# https://nixos.wiki/wiki/Nitrokey
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://nixos.wiki/wiki/NTFS
|
# https://nixos.wiki/wiki/NTFS
|
||||||
boot.supportedFilesystems = [ "ntfs" ];
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Import NUR.
|
# Import NUR.
|
||||||
#nixpkgs.config.packageOverrides = pkgs: {
|
#nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://nixos.wiki/wiki/Podman#Install_and_configure_podman_with_NixOS_service_configuration
|
# https://nixos.wiki/wiki/Podman#Install_and_configure_podman_with_NixOS_service_configuration
|
||||||
# https://search.nixos.org/options?channel=23.05&query=virtualisation.podman
|
# https://search.nixos.org/options?channel=23.05&query=virtualisation.podman
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Printing with IPP everywhere capable printers
|
# Printing with IPP everywhere capable printers
|
||||||
# https://nixos.wiki/wiki/Printing
|
# https://nixos.wiki/wiki/Printing
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.users.yoda = {
|
users.users.yoda = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Many programs use the `sendmail` command to send email.
|
# Many programs use the `sendmail` command to send email.
|
||||||
# Nullmailer and OpenSMTP create a symlink from `sendmail` to their binary - they are (to a certain degree) sendmail compatible.
|
# Nullmailer and OpenSMTP create a symlink from `sendmail` to their binary - they are (to a certain degree) sendmail compatible.
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable SSH server.
|
# Enable SSH server.
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/graphical/apps/thunderbird/default.nix
|
# https://github.com/NotAShelf/nyx/blob/main/homes/notashelf/graphical/apps/thunderbird/default.nix
|
||||||
# https://github.com/dr460nf1r3/dr460nixed/blob/main/home-manager/email.nix
|
# https://github.com/dr460nf1r3/dr460nixed/blob/main/home-manager/email.nix
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Looks as if TrueCrypt is unfree software
|
# Looks as if TrueCrypt is unfree software
|
||||||
# https://github.com/NixOS/nixpkgs/blob/5d017a8822e0907fb96f7700a319f9fe2434de02/pkgs/applications/misc/veracrypt/default.nix#L59
|
# https://github.com/NixOS/nixpkgs/blob/5d017a8822e0907fb96f7700a319f9fe2434de02/pkgs/applications/misc/veracrypt/default.nix#L59
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://discourse.nixos.org/t/how-to-set-gnome-a-k-a-gdm-greeter-a-k-a-lockscreen-login-background-a-k-a-wallpaper/14289?u=langfingaz
|
# https://discourse.nixos.org/t/how-to-set-gnome-a-k-a-gdm-greeter-a-k-a-lockscreen-login-background-a-k-a-wallpaper/14289?u=langfingaz
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Installation and Usage. https://nixos.wiki/wiki/WayDroid
|
# Installation and Usage. https://nixos.wiki/wiki/WayDroid
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# https://nixos.wiki/wiki/Command_Shell
|
# https://nixos.wiki/wiki/Command_Shell
|
||||||
# https://nixos.wiki/wiki/Zsh
|
# https://nixos.wiki/wiki/Zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user