major refactor and reorg
This commit is contained in:
parent
4da9b4919e
commit
0a9342ea3e
4 changed files with 46 additions and 27 deletions
|
@ -3,9 +3,12 @@ This is my personal NixOS configuration that uses:
|
||||||
- home-manager
|
- home-manager
|
||||||
- musnix
|
- musnix
|
||||||
- affinity-nix
|
- affinity-nix
|
||||||
- stanble and unstable packages
|
- nixpkgs unstable
|
||||||
- and more flakes...
|
- and more flakes...
|
||||||
|
|
||||||
Some of the structure is loosely based on the starter configs from https://github.com/Misterio77/nix-starter-configs/tree/main
|
Some of the structure is loosely based on inspiration from:
|
||||||
|
- https://github.com/donovanglover/nix-config
|
||||||
|
- https://gitlab.com/scientiac/einstein.nixos
|
||||||
|
- and help from the community on the Nix/NixOS Community Discord (different from the "unofficial" discord)
|
||||||
|
|
||||||
I don't know nix that well, so some of this will be a mess. It will also perpetually need refactoring.
|
I don't know nix that well, so some of this will be a mess. It will also perpetually need refactoring.
|
|
@ -352,21 +352,6 @@
|
||||||
vital
|
vital
|
||||||
helio-workstation
|
helio-workstation
|
||||||
stochas
|
stochas
|
||||||
|
|
||||||
# Fonts
|
|
||||||
fira-code
|
|
||||||
fira
|
|
||||||
cooper-hewitt
|
|
||||||
ibm-plex
|
|
||||||
jetbrains-mono
|
|
||||||
iosevka
|
|
||||||
spleen
|
|
||||||
fira-code-symbols
|
|
||||||
powerline-fonts
|
|
||||||
noto-fonts-color-emoji
|
|
||||||
noto-fonts
|
|
||||||
noto-fonts-cjk-sans
|
|
||||||
noto-fonts-emoji
|
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -406,9 +391,6 @@
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
# packages = [
|
|
||||||
# pkgs.nerdfonts.jetbrains-mono
|
|
||||||
# ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ nix-config, config, pkgs, lib, inputs, ... }:
|
{ nix-config, config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -25,12 +25,13 @@
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
# registry.nixpkgs.flake = nixpkgs;
|
# registry.nixpkgs.flake = nixpkgs;
|
||||||
channel.enable = false;
|
# channel.enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
substituters = [ "https://nix-community.cachix.org" ];
|
substituters = [ "https://nix-community.cachix.org" "https://cache.garnix.io" ];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
];
|
];
|
||||||
# Workaround for https://github.com/NixOS/nix/issues/9574
|
# Workaround for https://github.com/NixOS/nix/issues/9574
|
||||||
nix-path = config.nix.nixPath;
|
nix-path = config.nix.nixPath;
|
||||||
|
@ -511,9 +512,32 @@
|
||||||
libudev-zero.out
|
libudev-zero.out
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig = {
|
fonts = {
|
||||||
enable = true;
|
enableDefaultPackages = true;
|
||||||
useEmbeddedBitmaps = true;
|
fontDir.enable = true;
|
||||||
|
fontconfig = {
|
||||||
|
enable = true;
|
||||||
|
useEmbeddedBitmaps = true;
|
||||||
|
};
|
||||||
|
packages = with pkgs; [
|
||||||
|
fira-code
|
||||||
|
font-awesome
|
||||||
|
fira
|
||||||
|
cooper-hewitt
|
||||||
|
ibm-plex
|
||||||
|
jetbrains-mono
|
||||||
|
iosevka
|
||||||
|
spleen
|
||||||
|
fira-code-symbols
|
||||||
|
powerline-fonts
|
||||||
|
noto-fonts-color-emoji
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-emoji
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts._0xproto
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
|
|
10
overlays/ulauncher.nix
Normal file
10
overlays/ulauncher.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
final: prev: {
|
||||||
|
ulauncher = prev.ulauncher.overrideAttrs (old: {
|
||||||
|
propagatedBuildInputs = with prev.python3Packages;
|
||||||
|
old.propagatedBuildInputs
|
||||||
|
++ [
|
||||||
|
thefuzz
|
||||||
|
tornado
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue