flake: start transitioning away from with
This commit is contained in:
parent
4b853a8962
commit
deb3e1753c
10 changed files with 281 additions and 270 deletions
|
@ -3,8 +3,8 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.modules.system.programs.steam;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -17,10 +17,11 @@ in {
|
|||
};
|
||||
|
||||
extraLibraries = p:
|
||||
with p; [
|
||||
atk
|
||||
];
|
||||
builtins.attrValues {
|
||||
inherit (p) atk;
|
||||
};
|
||||
};
|
||||
|
||||
gamescopeSession.enable = true;
|
||||
extraCompatPackages = [pkgs.proton-ge-bin.steamcompattool];
|
||||
};
|
||||
|
|
|
@ -47,24 +47,29 @@ in {
|
|||
monospace = ["Iosevka Nerd Font"];
|
||||
};
|
||||
};
|
||||
packages = with pkgs; [
|
||||
# custom-iosevka
|
||||
material-icons
|
||||
material-design-icons
|
||||
papirus-icon-theme
|
||||
nerd-fonts.iosevka
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.comic-shanns-mono
|
||||
nerd-fonts.symbols-only
|
||||
|
||||
lexend
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
corefonts
|
||||
font-awesome
|
||||
];
|
||||
packages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
# custom-iosevka
|
||||
material-icons
|
||||
material-design-icons
|
||||
papirus-icon-theme
|
||||
lexend
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-color-emoji
|
||||
corefonts
|
||||
font-awesome
|
||||
;
|
||||
inherit
|
||||
(pkgs.nerd-fonts)
|
||||
iosevka
|
||||
jetbrains-mono
|
||||
comic-shanns-mono
|
||||
symbols-only
|
||||
;
|
||||
};
|
||||
fontDir = {
|
||||
# Whether to create a directory with links to all fonts in
|
||||
# /run/current-system/sw/share/X11/fonts
|
||||
|
|
|
@ -12,10 +12,13 @@ in {
|
|||
enable = true;
|
||||
powerOnBoot = mkIf cfg.powerOnBoot true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
bluetuith
|
||||
bluez
|
||||
blueman
|
||||
];
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
bluetuith
|
||||
bluez
|
||||
blueman
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,9 +9,12 @@
|
|||
in {
|
||||
hardware = {
|
||||
cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
|
||||
graphics.extraPackages = with pkgs; [
|
||||
intel-vaapi-driver
|
||||
intel-media-driver
|
||||
];
|
||||
graphics.extraPackages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
intel-vaapi-driver
|
||||
intel-media-driver
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,12 +11,14 @@ in {
|
|||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs;
|
||||
mkIf cfg.amd.enable [
|
||||
extraPackages = mkIf cfg.amd.enable (builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
mesa
|
||||
libva
|
||||
vaapiVdpa
|
||||
];
|
||||
;
|
||||
});
|
||||
};
|
||||
nvidia = mkIf cfg.nvidia.enable {
|
||||
modesetting.enable = true;
|
||||
|
|
|
@ -11,10 +11,9 @@
|
|||
module = {
|
||||
config = {
|
||||
environment.sessionVariables.EDITOR = "hx";
|
||||
environment.systemPackages = with packages; [
|
||||
fish
|
||||
helix
|
||||
];
|
||||
environment.systemPackages = builtins.attrValues {
|
||||
inherit (packages) fish helix;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,11 +31,9 @@
|
|||
ln -s --relative "$autoload_target" autoload
|
||||
'';
|
||||
};
|
||||
|
||||
plugins = with kakounePlugins; [
|
||||
fzf-kak
|
||||
kakoune-catppuccin
|
||||
];
|
||||
plugins = builtins.attrValues {
|
||||
inherit (kakounePlugins) fzf-kak kakoune-catppuccin;
|
||||
};
|
||||
|
||||
kakoune-wrapped = symlinkJoin {
|
||||
name = "kakoune-wrapped";
|
||||
|
|
|
@ -1,71 +1,65 @@
|
|||
pkgs: (with pkgs; [
|
||||
# better cd
|
||||
zoxide
|
||||
#better ls
|
||||
eza
|
||||
atuin
|
||||
|
||||
# better cat
|
||||
bat
|
||||
|
||||
# clipboard
|
||||
# yazi
|
||||
serpl
|
||||
diff-so-fancy
|
||||
tig
|
||||
direnv
|
||||
|
||||
sesh
|
||||
mprocs
|
||||
curlie
|
||||
entr
|
||||
procs
|
||||
sd
|
||||
# mult
|
||||
glow
|
||||
|
||||
# dua-cli
|
||||
dust
|
||||
kondo
|
||||
|
||||
# better grep
|
||||
ripgrep
|
||||
|
||||
# better dig
|
||||
dogdns
|
||||
|
||||
# simply the best fetch tool out there
|
||||
microfetch
|
||||
|
||||
fzf
|
||||
element
|
||||
carapace
|
||||
difftastic
|
||||
hexyl
|
||||
iputils
|
||||
gnumake
|
||||
gping
|
||||
asciinema
|
||||
inetutils
|
||||
scc
|
||||
starship
|
||||
onefetch
|
||||
wget
|
||||
cpufetch
|
||||
yt-dlp
|
||||
tealdeer
|
||||
glow
|
||||
hyperfine
|
||||
imagemagick
|
||||
ffmpeg-full
|
||||
# catimg
|
||||
timg
|
||||
nmap
|
||||
wget
|
||||
fd
|
||||
jq
|
||||
rsync
|
||||
figlet
|
||||
unzip
|
||||
zip
|
||||
])
|
||||
pkgs:
|
||||
builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
# better cd
|
||||
zoxide
|
||||
#better ls
|
||||
eza
|
||||
atuin
|
||||
# better cat
|
||||
bat
|
||||
# clipboard
|
||||
# yazi
|
||||
serpl
|
||||
diff-so-fancy
|
||||
tig
|
||||
direnv
|
||||
sesh
|
||||
mprocs
|
||||
curlie
|
||||
entr
|
||||
procs
|
||||
sd
|
||||
# mult
|
||||
glow
|
||||
# dua-cli
|
||||
dust
|
||||
kondo
|
||||
# better grep
|
||||
ripgrep
|
||||
# better dig
|
||||
dogdns
|
||||
# simply the best fetch tool out there
|
||||
microfetch
|
||||
fzf
|
||||
element
|
||||
carapace
|
||||
difftastic
|
||||
hexyl
|
||||
iputils
|
||||
gnumake
|
||||
gping
|
||||
asciinema
|
||||
inetutils
|
||||
scc
|
||||
starship
|
||||
onefetch
|
||||
wget
|
||||
cpufetch
|
||||
yt-dlp
|
||||
tealdeer
|
||||
hyperfine
|
||||
imagemagick
|
||||
ffmpeg-full
|
||||
# catimg
|
||||
timg
|
||||
nmap
|
||||
fd
|
||||
jq
|
||||
rsync
|
||||
figlet
|
||||
unzip
|
||||
zip
|
||||
;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue