mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Auto: cleanup-2026-05-18T16-56-07Z
This commit is contained in:
@@ -20,12 +20,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
home-manager,
|
|
||||||
nixos-grub-themes,
|
|
||||||
caelestia-shell,
|
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
@@ -44,7 +40,6 @@
|
|||||||
|
|
||||||
config.allowUnfreePredicate = mkUnfreePredicate;
|
config.allowUnfreePredicate = mkUnfreePredicate;
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
laptop = nixpkgs.lib.nixosSystem {
|
laptop = nixpkgs.lib.nixosSystem {
|
||||||
|
|||||||
@@ -3,10 +3,6 @@
|
|||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
{
|
{
|
||||||
# nixd says that those attributes are not used. The are used in the imported file. Do not remove.
|
# nixd says that those attributes are not used. The are used in the imported file. Do not remove.
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
libs,
|
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
@@ -18,9 +14,11 @@
|
|||||||
#../../modules/nixos/ly.nix
|
#../../modules/nixos/ly.nix
|
||||||
../../modules/nixos/ly.nix
|
../../modules/nixos/ly.nix
|
||||||
../../modules/nixos/anki.nix
|
../../modules/nixos/anki.nix
|
||||||
../../modules/nixos/nixUtils.nix ../../hostsModules/laptop/nixos/nixUtils.nix
|
../../modules/nixos/nixUtils.nix
|
||||||
|
../../hostsModules/laptop/nixos/nixUtils.nix
|
||||||
../../hostsModules/laptop/nixos/udev.nix
|
../../hostsModules/laptop/nixos/udev.nix
|
||||||
../../modules/nixos/disk.nix ../../hostsModules/laptop/nixos/disk.nix
|
../../modules/nixos/disk.nix
|
||||||
|
../../hostsModules/laptop/nixos/disk.nix
|
||||||
../../modules/nixos/printer.nix
|
../../modules/nixos/printer.nix
|
||||||
../../hostsModules/laptop/nixos/ollama.nix # llm config
|
../../hostsModules/laptop/nixos/ollama.nix # llm config
|
||||||
../../modules/nixos/mullvad.nix # vpn config
|
../../modules/nixos/mullvad.nix # vpn config
|
||||||
@@ -35,7 +33,8 @@
|
|||||||
../../modules/nixos/fonts.nix
|
../../modules/nixos/fonts.nix
|
||||||
../../modules/nixos/latex.nix
|
../../modules/nixos/latex.nix
|
||||||
../../modules/nixos/development.nix
|
../../modules/nixos/development.nix
|
||||||
../../modules/nixos/user.nix ../../hostsModules/laptop/nixos/user.nix
|
../../modules/nixos/user.nix
|
||||||
|
../../hostsModules/laptop/nixos/user.nix
|
||||||
../../modules/nixos/notifications.nix
|
../../modules/nixos/notifications.nix
|
||||||
../../modules/nixos/browser.nix
|
../../modules/nixos/browser.nix
|
||||||
../../modules/nixos/theme.nix # install theming packages and some quickshell stuff
|
../../modules/nixos/theme.nix # install theming packages and some quickshell stuff
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{inputs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# every import imports a specific module for an app. This module contains the enabling of this app and its settings.
|
# every import imports a specific module for an app. This module contains the enabling of this app and its settings.
|
||||||
# So if you want to add an home-manager app create a module which enables it and configures it and import it.
|
# So if you want to add an home-manager app create a module which enables it and configures it and import it.
|
||||||
imports = [
|
imports = [
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"qtbatticon" # custom battery tray
|
"qtbatticon" # custom battery tray
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
snrt = "git -C ~/nixos add -A && time sudo nixos-rebuild test --flake ~/nixos/#laptop && pkill shell || true && pkill caelestia-shell || true && caelestia-shell -n > /dev/null 2>&1 & disown";
|
snrt = "git -C ~/nixos add -A && time sudo nixos-rebuild test --flake ~/nixos/#laptop && pkill shell || true && pkill caelestia-shell || true && caelestia-shell -n > /dev/null 2>&1 & disown";
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{pkgs, ...}: {
|
||||||
|
|
||||||
{
|
|
||||||
# Ensure your script is available system-wide
|
# Ensure your script is available system-wide
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(pkgs.callPackage ../scripts/autoUpdate.nix {})
|
(pkgs.callPackage ../scripts/autoUpdate.nix {})
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
...}:
|
...
|
||||||
|
}:
|
||||||
# we just activate tlp unconditonally
|
# we just activate tlp unconditonally
|
||||||
#let
|
#let
|
||||||
# cfg = config.custom;
|
# cfg = config.custom;
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
# grub theme
|
# grub theme
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
|
theme = inputs.nixos-grub-themes.packages.${pkgs.system}.nixos; # if you want to use nixos grub theme
|
||||||
|
|||||||
@@ -1,13 +1,7 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
libs,
|
|
||||||
inputs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# i found swap necessary when running nixpkgs review
|
# i found swap necessary when running nixpkgs review
|
||||||
swapDevices = [{
|
swapDevices = [
|
||||||
|
{
|
||||||
device = "/swapfile";
|
device = "/swapfile";
|
||||||
size = 16384; # 16 GB
|
size = 16384; # 16 GB
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# used for the framework 16 laptop
|
# used for the framework 16 laptop
|
||||||
framework-tool
|
framework-tool
|
||||||
|
|||||||
@@ -1,13 +1,8 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget
|
wget
|
||||||
networkmanagerapplet # NetworkManager control applet
|
networkmanagerapplet # NetworkManager control applet
|
||||||
inetutils # collections of network programs such as telnet
|
inetutils # collections of network programs such as telnet
|
||||||
|
|
||||||
];
|
];
|
||||||
#networking.Name = "nixos"; # Define your hostname.
|
#networking.Name = "nixos"; # Define your hostname.
|
||||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
# nixpkgs-review crashed my laptop multiple times.
|
# nixpkgs-review crashed my laptop multiple times.
|
||||||
nix.settings.max-jobs = 2;
|
nix.settings.max-jobs = 2;
|
||||||
nix.settings.cores = 2;
|
nix.settings.cores = 2;
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{pkgs-unstable, ...}: {
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.ollama-vulkan;
|
package = pkgs-unstable.ollama-vulkan;
|
||||||
@@ -11,15 +8,18 @@
|
|||||||
#loadModels = [ "mistral:7b" ]; # don't forget the :xxxxx for ex: "mixtral" don't work
|
#loadModels = [ "mistral:7b" ]; # don't forget the :xxxxx for ex: "mixtral" don't work
|
||||||
#syncModels = true;
|
#syncModels = true;
|
||||||
};
|
};
|
||||||
systemd.services.ollama.serviceConfig.ExecStartPost = [ # use this to auto download models
|
systemd.services.ollama.serviceConfig.ExecStartPost = [
|
||||||
|
# use this to auto download models
|
||||||
"${pkgs-unstable.ollama-vulkan}/bin/ollama pull mistral:7b"
|
"${pkgs-unstable.ollama-vulkan}/bin/ollama pull mistral:7b"
|
||||||
];
|
];
|
||||||
/*services.open-webui = {
|
/*
|
||||||
|
services.open-webui = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = 8080;
|
port = 8080;
|
||||||
environment = {
|
environment = {
|
||||||
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
|
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
|
||||||
WEBUI_AUTH = "True";
|
WEBUI_AUTH = "True";
|
||||||
};
|
};
|
||||||
};*/
|
};
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# udev with only the necessary rules. See udev.nix to get all the rules
|
# udev with only the necessary rules. See udev.nix to get all the rules
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
# adapted from here https://wiki.nixos.org/wiki/Keychron_M6
|
# adapted from here https://wiki.nixos.org/wiki/Keychron_M6
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
# configuration is in ../../../modules/nixos/user.nix
|
# configuration is in ../../../modules/nixos/user.nix
|
||||||
{
|
_: {
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
home-manager.users.tomasr = ../../../hosts/laptop/home.nix;
|
home-manager.users.tomasr = ../../../hosts/laptop/home.nix;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
# at your risk and perils
|
# at your risk and perils
|
||||||
# click on the icon to get a notification with state, percentage and wattage
|
# click on the icon to get a notification with state, percentage and wattage
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
stdenv,
|
stdenv,
|
||||||
qt6,
|
qt6,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{pkgs, ...}:
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
pkgs.writeShellApplication {
|
pkgs.writeShellApplication {
|
||||||
name = "custom-autoupdate";
|
name = "custom-autoupdate";
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{pkgs}:
|
{pkgs}:
|
||||||
|
|
||||||
pkgs.writeShellApplication {
|
pkgs.writeShellApplication {
|
||||||
name = "custom-checkMatrix";
|
name = "custom-checkMatrix";
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{pkgs, ...}:
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
pkgs.writeShellApplication {
|
pkgs.writeShellApplication {
|
||||||
name = "custom-cleanNix";
|
name = "custom-cleanNix";
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# OLD Deprecated.
|
# OLD Deprecated.
|
||||||
|
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.anki = {
|
programs.anki = {
|
||||||
# we enable system wide with nixpkgs because it offers some addon configuration. We just use this for some config
|
# we enable system wide with nixpkgs because it offers some addon configuration. We just use this for some config
|
||||||
#enable = true;
|
#enable = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.batsignal = {
|
services.batsignal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
{
|
_: let
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
sisyphe = ../../assets/sisyphe.gif;
|
sisyphe = ../../assets/sisyphe.gif;
|
||||||
pepe-music = ../../assets/pepe-music.gif;
|
pepe-music = ../../assets/pepe-music.gif;
|
||||||
in {
|
in {
|
||||||
home.file.".local/state/caelestia/wallpaper/path.txt" = { # dummy file. Does nothing. Prevent an error
|
home.file.".local/state/caelestia/wallpaper/path.txt" = {
|
||||||
|
# dummy file. Does nothing. Prevent an error
|
||||||
enable = true;
|
enable = true;
|
||||||
text = "${sisyphe}";
|
text = "${sisyphe}";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,11 +1,7 @@
|
|||||||
# don't works. some GTK error. I let it here if someday, someone is interest in this shit.
|
# don't works. some GTK error. I let it here if someday, someone is interest in this shit.
|
||||||
# ChatGPT half baked a replacement that works on my system.
|
# ChatGPT half baked a replacement that works on my system.
|
||||||
# see ../qt/qtbatticon
|
# see ../qt/qtbatticon
|
||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.cbatticon = {
|
services.cbatticon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lowLevelPercent = 20;
|
lowLevelPercent = 20;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
hyprcursor.enable = true;
|
hyprcursor.enable = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_:
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
# ls replacement
|
# ls replacement
|
||||||
# see ./zsh.nix for the alias (usefull to se default flags)
|
# see ./zsh.nix for the alias (usefull to se default flags)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Adapted from https://github.com/dacrab/fastfetch-config/blob/main/config.jsonc
|
# Adapted from https://github.com/dacrab/fastfetch-config/blob/main/config.jsonc
|
||||||
programs.fastfetch = {
|
programs.fastfetch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# gtk config
|
# gtk config
|
||||||
gtk.theme = {
|
gtk.theme = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{pkgs-unstable, ...}: let
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
wallpaper = ../../assets/wallpaper1.jpg;
|
wallpaper = ../../assets/wallpaper1.jpg;
|
||||||
in {
|
in {
|
||||||
#refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/
|
#refer to https://wiki.hypr.land/Nix/Hyprland-on-Home-Manager/
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#font.name = nerd-fonts._0xproto;
|
#font.name = nerd-fonts._0xproto;
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
# adapted from https://github.com/contre95/dotfiles/blob/main/dotfiles/nixos/programs/librewolf.nix
|
# adapted from https://github.com/contre95/dotfiles/blob/main/dotfiles/nixos/programs/librewolf.nix
|
||||||
{
|
_: {
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
MOZ_ENABLE_WAYLAND = 1;
|
MOZ_ENABLE_WAYLAND = 1;
|
||||||
MOZ_USE_XINPUT2 = 1;
|
MOZ_USE_XINPUT2 = 1;
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
# see also ../nixos/mullvad.nix
|
# see also ../nixos/mullvad.nix
|
||||||
{
|
_: {
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.mullvad-vpn = {
|
programs.mullvad-vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# see https://github.com/mullvad/mullvadvpn-app/blob/main/desktop/packages/mullvad-vpn/src/main/gui-settings.ts for options
|
# see https://github.com/mullvad/mullvadvpn-app/blob/main/desktop/packages/mullvad-vpn/src/main/gui-settings.ts for options
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{pkgs-unstable, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
vimAlias = false;
|
vimAlias = false;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.obsidian = {
|
programs.obsidian = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.oh-my-posh = {
|
programs.oh-my-posh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.zsh.oh-my-zsh = {
|
programs.zsh.oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "jonathan";
|
theme = "jonathan";
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{
|
_:
|
||||||
...
|
|
||||||
}:
|
|
||||||
# see ../../docs/printing.md
|
# see ../../docs/printing.md
|
||||||
{
|
{
|
||||||
home.file.".local/share/applications/org.quickshell.desktop" = {
|
home.file.".local/share/applications/org.quickshell.desktop" = {
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
home.username = "tomasr";
|
home.username = "tomasr";
|
||||||
home.homeDirectory = "/home/tomasr";
|
home.homeDirectory = "/home/tomasr";
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
# pulled from https://codeberg.org/zacoons/rivendell-hyprdots
|
# pulled from https://codeberg.org/zacoons/rivendell-hyprdots
|
||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
programs.quickshell = {
|
programs.quickshell = {
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{pkgs-unstable, ...}: {
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.rclone = {
|
programs.rclone = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.rclone;
|
package = pkgs-unstable.rclone;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.ripgrep = {
|
programs.ripgrep = {
|
||||||
enable = true;
|
enable = true;
|
||||||
arguments = [
|
arguments = [
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "gruvbox-dark-hard";
|
theme = "gruvbox-dark-hard";
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
#pkgs-unstable.sbb-tui
|
#pkgs-unstable.sbb-tui
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false; # will be removed in the futur. Removes evaluation warning
|
enableDefaultConfig = false; # will be removed in the futur. Removes evaluation warning
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.swaync = {
|
services.swaync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.thunderbird = {
|
programs.thunderbird = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.tomasr = {
|
profiles.tomasr = {
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
{
|
{pkgs-unstable, ...}: {
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.file.".config/vivify/config.json" = {
|
home.file.".config/vivify/config.json" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
text = ''
|
text = ''
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = [
|
settings = [
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: let
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
wallpaper = ../../assets/wallpaper1.jpg;
|
wallpaper = ../../assets/wallpaper1.jpg;
|
||||||
lock = ../../assets/lock.png;
|
lock = ../../assets/lock.png;
|
||||||
lock-hover = ../../assets/lock-hover.png;
|
lock-hover = ../../assets/lock-hover.png;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.zoxide = {
|
programs.zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
_: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{...}: {
|
_: {
|
||||||
services.displayManager.ly = {
|
services.displayManager.ly = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.xkb = {
|
services.xserver.xkb = {
|
||||||
layout = "ch";
|
layout = "ch";
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
(pkgs.anki.withAddons [
|
(pkgs.anki.withAddons [
|
||||||
(pkgs.ankiAddons.recolor.withConfig {
|
(pkgs.ankiAddons.recolor.withConfig {
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
services.pulseaudio.enable = false;
|
services.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
blueman # GTK-based Bluetooth Manager
|
blueman # GTK-based Bluetooth Manager
|
||||||
|
|||||||
@@ -4,8 +4,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID.
|
chromium # used only to flash the firmware on my framework laptop 16 (keyboard.frame.work) as only chromium based browser support webHID.
|
||||||
pkgs-unstable.tor-browser
|
pkgs-unstable.tor-browser
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
programs.nix-ld.enable = true; #Run unpatched dynamic binaries on NixOS. For example lets run ./a.out from gcc
|
programs.nix-ld.enable = true; #Run unpatched dynamic binaries on NixOS. For example lets run ./a.out from gcc
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gcc
|
gcc
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
udiskie # removable disk automounter for udisks
|
udiskie # removable disk automounter for udisks
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
documentation.man.generateCaches = true; # used for the man script
|
documentation.man.generateCaches = true; # used for the man script
|
||||||
|
|
||||||
environment.pathsToLink = [ # see https://wiki.nixos.org/wiki/Documentation_Gaps#How_do_manpages_work?_Or:_environment.pathsToLink_and_buildEnv
|
environment.pathsToLink = [
|
||||||
|
# see https://wiki.nixos.org/wiki/Documentation_Gaps#How_do_manpages_work?_Or:_environment.pathsToLink_and_buildEnv
|
||||||
"/share/applications"
|
"/share/applications"
|
||||||
"/share/xdg-desktop-portal"
|
"/share/xdg-desktop-portal"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
# fonts
|
# fonts
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerd-fonts._0xproto
|
nerd-fonts._0xproto
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
texlab
|
texlab
|
||||||
ltex-ls-plus
|
ltex-ls-plus
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{...}: {
|
_: {
|
||||||
# a minimal ly config as the big config (ly.nix) didnt worked
|
# a minimal ly config as the big config (ly.nix) didnt worked
|
||||||
services.displayManager.ly = {
|
services.displayManager.ly = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
# see also ../home-manager/mullvad.nix
|
# see also ../home-manager/mullvad.nix
|
||||||
{
|
{pkgs-unstable, ...}: {
|
||||||
pkgs-unstable,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.mullvad-vpn = {
|
services.mullvad-vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.mullvad-vpn;
|
package = pkgs-unstable.mullvad-vpn;
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
# notifications server is set by caelestia-shell. See ../home-manager/caelestia.nix
|
# notifications server is set by caelestia-shell. See ../home-manager/caelestia.nix
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
libnotify # Library that sends desktop notifications to a notification daemon
|
libnotify # Library that sends desktop notifications to a notification daemon
|
||||||
socat # Utility for bidirectional data transfer between two independent data channels (used to communicate between hyprland and swww to change wallpapers dinamically)
|
socat # Utility for bidirectional data transfer between two independent data channels (used to communicate between hyprland and swww to change wallpapers dinamically)
|
||||||
@@ -15,6 +11,5 @@
|
|||||||
(pkgs.callPackage ../../hostsModules/laptop/scripts/checkMatrix.nix {})
|
(pkgs.callPackage ../../hostsModules/laptop/scripts/checkMatrix.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/gitnotify.nix {}) # check if git is set up
|
(pkgs.callPackage ../../modules/scripts/gitnotify.nix {}) # check if git is set up
|
||||||
(pkgs.callPackage ../../modules/scripts/checkKdrive.nix {}) # check if kdrive is set up with rclone
|
(pkgs.callPackage ../../modules/scripts/checkKdrive.nix {}) # check if kdrive is set up with rclone
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
libreoffice
|
libreoffice
|
||||||
birdtray
|
birdtray
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome-calculator
|
gnome-calculator
|
||||||
snapshot
|
snapshot
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
#https://wiki.nixos.org/wiki/Printing
|
#https://wiki.nixos.org/wiki/Printing
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
# most of the themeing are in the home-manager modules. This just installs some packages needed
|
# most of the themeing are in the home-manager modules. This just installs some packages needed
|
||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|
||||||
# to resolve this https://wiki.nixos.org/wiki/Home_Manager#I_cannot_set_GNOME_or_Gtk_themes_via_Home_Manager
|
# to resolve this https://wiki.nixos.org/wiki/Home_Manager#I_cannot_set_GNOME_or_Gtk_themes_via_Home_Manager
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,7 @@
|
|||||||
extra-cmake-modules,
|
extra-cmake-modules,
|
||||||
shared-mime-info,
|
shared-mime-info,
|
||||||
wrapQtAppsHook,
|
wrapQtAppsHook,
|
||||||
|
|
||||||
qtbase,
|
qtbase,
|
||||||
|
|
||||||
karchive,
|
karchive,
|
||||||
kcompletion,
|
kcompletion,
|
||||||
kconfig,
|
kconfig,
|
||||||
@@ -24,9 +22,7 @@
|
|||||||
ktextwidgets,
|
ktextwidgets,
|
||||||
kxmlgui,
|
kxmlgui,
|
||||||
syntax-highlighting,
|
syntax-highlighting,
|
||||||
|
|
||||||
gsl,
|
gsl,
|
||||||
|
|
||||||
poppler,
|
poppler,
|
||||||
fftw,
|
fftw,
|
||||||
hdf5,
|
hdf5,
|
||||||
@@ -41,7 +37,6 @@
|
|||||||
qtserialport,
|
qtserialport,
|
||||||
discount,
|
discount,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "labplot";
|
pname = "labplot";
|
||||||
version = "2.10.1";
|
version = "2.10.1";
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{ lib
|
{
|
||||||
, python3Packages
|
lib,
|
||||||
, fetchFromGitLab
|
python3Packages,
|
||||||
, frhyme
|
fetchFromGitLab,
|
||||||
, haspirater
|
frhyme,
|
||||||
|
haspirater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "plint";
|
pname = "plint";
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,8 @@
|
|||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
versionCheckHook
|
versionCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule (finalAttrs: {
|
buildGoModule (finalAttrs: {
|
||||||
pname = "sbb-tui";
|
pname = "sbb-tui";
|
||||||
version = "1.14.2";
|
version = "1.14.2";
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
zip,
|
zip,
|
||||||
file,
|
file,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "vivify";
|
pname = "vivify";
|
||||||
version = "0.14.0";
|
version = "0.14.0";
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
pname = "z13ctl";
|
pname = "z13ctl";
|
||||||
version = "1.1.6";
|
version = "1.1.6";
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
writeShellApplication,
|
writeShellApplication,
|
||||||
zsh,
|
zsh,
|
||||||
kitty,
|
|
||||||
fzf,
|
fzf,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
# used for the terminal autostart. Needs to get cleared and recall fastfetch so that the bar from oh-my-zsh get resized
|
# used for the terminal autostart. Needs to get cleared and recall fastfetch so that the bar from oh-my-zsh get resized
|
||||||
{
|
{writeShellApplication, ...}:
|
||||||
writeShellApplication,
|
|
||||||
hyprland,
|
|
||||||
gawk,
|
|
||||||
libnotify,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
writeShellApplication {
|
writeShellApplication {
|
||||||
name = "custom-performance";
|
name = "custom-performance";
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
{ pkgs, python3Packages, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
python3Packages,
|
||||||
|
...
|
||||||
|
}:
|
||||||
pkgs.writers.writePython3Bin "custom-syllabes" {
|
pkgs.writers.writePython3Bin "custom-syllabes" {
|
||||||
libraries = [
|
libraries = [
|
||||||
python3Packages.pyphen
|
python3Packages.pyphen
|
||||||
@@ -23,7 +26,8 @@ for w in text.split():
|
|||||||
|
|
||||||
print(f"{total} ({'/'.join(chunks)})")
|
print(f"{total} ({'/'.join(chunks)})")
|
||||||
''
|
''
|
||||||
/* used IPA but had a deprecated dependency
|
/*
|
||||||
|
used IPA but had a deprecated dependency
|
||||||
{ pkgs, python3Packages, ... }:
|
{ pkgs, python3Packages, ... }:
|
||||||
|
|
||||||
pkgs.writers.writePython3Bin "custom-syllabes" {
|
pkgs.writers.writePython3Bin "custom-syllabes" {
|
||||||
@@ -56,8 +60,10 @@ for word in text.split():
|
|||||||
chunks.append(f"{word}/{ipa}")
|
chunks.append(f"{word}/{ipa}")
|
||||||
|
|
||||||
print(f"{total} ({' | '.join(chunks)})")
|
print(f"{total} ({' | '.join(chunks)})")
|
||||||
''*/
|
''
|
||||||
/*{ pkgs, ... }:
|
*/
|
||||||
|
/*
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
lexique = pkgs.fetchurl {
|
lexique = pkgs.fetchurl {
|
||||||
@@ -170,4 +176,6 @@ def main():
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
''*/
|
''
|
||||||
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user