Commit all of my system changes to make my life easier later.
This commit is contained in:
parent
65d67bd891
commit
9c0002aefc
6 changed files with 64 additions and 70 deletions
32
system/common/fonts.nix
Normal file
32
system/common/fonts.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
fonts = {
|
||||||
|
enableDefaultPackages = false;
|
||||||
|
packages = [] ++ lib.optionals (!config.wsl.enable or false) [
|
||||||
|
### fonts.enableDefaultPackages as of nixpkgs 7fd4e5f7c309
|
||||||
|
pkgs.dejavu_fonts
|
||||||
|
pkgs.freefont_ttf
|
||||||
|
pkgs.gyre-fonts
|
||||||
|
# TrueType substitutes for standard PostScript fonts
|
||||||
|
pkgs.liberation_ttf
|
||||||
|
pkgs.unifont
|
||||||
|
pkgs.noto-fonts-color-emoji
|
||||||
|
### fonts.enableDefaultPackages as of nixpkgs 7fd4e5f7c309
|
||||||
|
|
||||||
|
pkgs.corefonts
|
||||||
|
|
||||||
|
pkgs.comic-mono
|
||||||
|
pkgs.inconsolata
|
||||||
|
pkgs.monocraft
|
||||||
|
pkgs.noto-fonts
|
||||||
|
pkgs.noto-fonts-cjk-sans
|
||||||
|
pkgs.unifont_upper
|
||||||
|
];
|
||||||
|
fontconfig.cache32Bit = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -42,7 +42,7 @@
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
videoDrivers = [ "intel" ];
|
videoDrivers = [ "modesetting" ];
|
||||||
desktopManager = {
|
desktopManager = {
|
||||||
xterm.enable = false;
|
xterm.enable = false;
|
||||||
xfce.enable = false;
|
xfce.enable = false;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ lib, pkgs, config, modulesPath, ... }: {
|
{ lib, pkgs, config, modulesPath, ... }: {
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixFlakes;
|
# package = pkgs.nixVersions.stable;
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
# Use PipeWire
|
# Use PipeWire
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
# dconf
|
|
||||||
programs.dconf.enable = true;
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Use PipeWire
|
# Use PipeWire
|
||||||
pipewire = {
|
pipewire = {
|
||||||
|
@ -31,30 +28,9 @@
|
||||||
desktopManager.cinnamon.enable = true;
|
desktopManager.cinnamon.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# dconf
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
# Fonts
|
|
||||||
fonts = {
|
|
||||||
enableDefaultPackages = false;
|
|
||||||
packages = [
|
|
||||||
# fonts.enableDefaultPackages
|
|
||||||
pkgs.dejavu_fonts
|
|
||||||
pkgs.freefont_ttf
|
|
||||||
pkgs.gyre-fonts
|
|
||||||
# TrueType substitutes for standard PostScript fonts
|
|
||||||
pkgs.liberation_ttf
|
|
||||||
pkgs.unifont
|
|
||||||
pkgs.noto-fonts-color-emoji
|
|
||||||
# fonts.enableDefaultPackages
|
|
||||||
pkgs.unifont_upper
|
|
||||||
pkgs.noto-fonts
|
|
||||||
pkgs.noto-fonts-cjk-sans
|
|
||||||
pkgs.corefonts
|
|
||||||
];
|
|
||||||
fontconfig.cache32Bit = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# KDE6
|
|
||||||
# Enable the KDE Desktop Environment.
|
|
||||||
xdg.icons.enable = true;
|
xdg.icons.enable = true;
|
||||||
environment = {
|
environment = {
|
||||||
sessionVariables.NIXOS_OZONE_WL = "1";
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
|
@ -9,62 +9,43 @@
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
# Use PipeWire
|
# Use PipeWire
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
};
|
};
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb.layout = "us";
|
xkb.layout = "us";
|
||||||
};
|
};
|
||||||
# Enable the KDE Desktop Environment.
|
# Enable the KDE Desktop Environment.
|
||||||
displayManager.sddm.enable = true;
|
displayManager.sddm.enable = true;
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fonts
|
|
||||||
fonts.enableDefaultPackages = false;
|
|
||||||
fonts.packages = [
|
|
||||||
# fonts.enableDefaultPackages
|
|
||||||
pkgs.dejavu_fonts
|
|
||||||
pkgs.freefont_ttf
|
|
||||||
pkgs.gyre-fonts # TrueType substitutes for standard PostScript fonts
|
|
||||||
pkgs.liberation_ttf
|
|
||||||
pkgs.unifont
|
|
||||||
pkgs.noto-fonts-color-emoji
|
|
||||||
# fonts.enableDefaultPackages
|
|
||||||
pkgs.comic-mono
|
|
||||||
pkgs.corefonts
|
|
||||||
pkgs.inconsolata
|
|
||||||
pkgs.monocraft
|
|
||||||
pkgs.noto-fonts
|
|
||||||
pkgs.noto-fonts-cjk-sans
|
|
||||||
pkgs.unifont_upper
|
|
||||||
];
|
|
||||||
fonts.fontconfig.cache32Bit = true;
|
|
||||||
# dconf
|
# dconf
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
# KDE6
|
|
||||||
# Enable the KDE Desktop Environment.
|
|
||||||
xdg.icons.enable = true;
|
xdg.icons.enable = true;
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment = {
|
||||||
environment.systemPackages = [
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
pkgs.kdePackages.sddm-kcm
|
systemPackages = [
|
||||||
pkgs.kdePackages.audiocd-kio
|
pkgs.kdePackages.sddm-kcm
|
||||||
pkgs.kdePackages.skanpage
|
pkgs.kdePackages.audiocd-kio
|
||||||
pkgs.kdePackages.isoimagewriter
|
pkgs.kdePackages.skanpage
|
||||||
pkgs.kdePackages.krdc # RDP
|
pkgs.kdePackages.isoimagewriter
|
||||||
# pkgs.kdePackages.neochat # Matrix
|
pkgs.kdePackages.krdc # RDP
|
||||||
pkgs.kdePackages.breeze-icons
|
# pkgs.kdePackages.neochat # Matrix
|
||||||
pkgs.kdePackages.discover # "KDE and Plasma resources management GUI"
|
pkgs.kdePackages.breeze-icons
|
||||||
pkgs.kdePackages.partitionmanager # Partition Manager
|
pkgs.kdePackages.discover # "KDE and Plasma resources management GUI"
|
||||||
pkgs.exfatprogs
|
pkgs.kdePackages.partitionmanager # Partition Manager
|
||||||
pkgs.sublime4
|
pkgs.exfatprogs
|
||||||
rom-properties.packages.x86_64-linux.rp_kde6
|
pkgs.sublime4
|
||||||
# (rom-properties.packages.x86_64-linux.rp_kde6.overrideAttrs (oldAttrs: { patches = oldAttrs.patches ++ [ ../files/rp_larger_icons.diff ]; }))
|
rom-properties.packages.x86_64-linux.rp_kde6
|
||||||
];
|
# (rom-properties.packages.x86_64-linux.rp_kde6.overrideAttrs (oldAttrs: { patches = oldAttrs.patches ++ [ ../files/rp_larger_icons.diff ]; }))
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
aaru,
|
aaru,
|
||||||
agenix,
|
agenix,
|
||||||
|
config,
|
||||||
home-manager,
|
home-manager,
|
||||||
|
ihaveahax-nur,
|
||||||
ninfs,
|
ninfs,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -9,11 +12,12 @@
|
||||||
xil,
|
xil,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
# let inherit (import ./system/1_common/sshKeys.nix) mySSHKeys; in
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./common/nix_lix.nix
|
./common/nix_lix.nix
|
||||||
./common/users.nix
|
./common/users.nix
|
||||||
|
./common/fonts.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Optionally, use home-manager.extraSpecialArgs to pass arguments
|
# Optionally, use home-manager.extraSpecialArgs to pass arguments
|
||||||
|
@ -24,6 +28,7 @@
|
||||||
inherit aaru;
|
inherit aaru;
|
||||||
inherit agenix;
|
inherit agenix;
|
||||||
# inherit nixpkgs;
|
# inherit nixpkgs;
|
||||||
|
inherit ihaveahax-nur;
|
||||||
inherit ninfs;
|
inherit ninfs;
|
||||||
inherit rom-properties;
|
inherit rom-properties;
|
||||||
inherit xil;
|
inherit xil;
|
||||||
|
|
Loading…
Reference in a new issue