Added the rest of importants modules to port
Some checks failed
Check config / build (push) Failing after 9m21s
Some checks failed
Check config / build (push) Failing after 9m21s
This commit is contained in:
parent
01cd0e48da
commit
fd230d9087
@ -7,10 +7,10 @@ in
|
||||
modules.common.nix # Fait
|
||||
modules.common.direnv # Fait
|
||||
# modules.nixos.swap
|
||||
modules.nixos.locale # For localisation options # A faire, prioritaire
|
||||
modules.common.ssh # A faire, prioritaire
|
||||
modules.nixos.locale # For localisation options # Fait
|
||||
modules.common.ssh # Fait
|
||||
modules.nixos.bootloader # Fait
|
||||
modules.common.environment # A faire
|
||||
modules.common.environment # Fait
|
||||
modules.nixos.desktop.lightDM # Fait
|
||||
];
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ in
|
||||
inputs.sops-nix.nixosModules.sops # Inutile pour le moment
|
||||
modules.hm.colors # A faire, peu prioritaire
|
||||
modules.nixos.secureboot # Fait
|
||||
modules.common.module # A faire
|
||||
modules.common.module # Fait
|
||||
modules.nixos.secrets # Voir sops
|
||||
modules.nixos.desktop.bluetooth # Fait
|
||||
modules.nixos.desktop.utils # Fait
|
||||
|
||||
@ -1,19 +1,25 @@
|
||||
{ self, inputs, ... }:
|
||||
{
|
||||
flake.homeModules.env = { pkgs, lib, ... }: {
|
||||
home = {
|
||||
shellAliases = {
|
||||
drs = "time sudo darwin-rebuild switch --flake ~/Developer/nix/NixOSDots#macOS";
|
||||
nrs = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#nixos";
|
||||
frs = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#FW16";
|
||||
lrs = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#light";
|
||||
lars = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#laptop";
|
||||
cdd = "cd ~/Developer/nix/NixOSDots";
|
||||
ncg = "time nix-collect-garbage -d";
|
||||
nso = "time nix store optimise";
|
||||
nfc = "time nix flake check ~/Developer/nix/NixOSDots";
|
||||
nfu = "time nix flake update --flake ~/Developer/nix/NixOSDots";
|
||||
flake = {
|
||||
homeModules.env = { pkgs, lib, ... }: {
|
||||
home = {
|
||||
shellAliases = {
|
||||
drs = "time sudo darwin-rebuild switch --flake ~/Developer/nix/NixOSDots#macOS";
|
||||
nrs = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#nixos";
|
||||
frs = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#FW16";
|
||||
lrs = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#light";
|
||||
lars = "time sudo nixos-rebuild switch --flake ~/Developer/nix/NixOSDots#laptop";
|
||||
cdd = "cd ~/Developer/nix/NixOSDots";
|
||||
ncg = "time nix-collect-garbage -d";
|
||||
nso = "time nix store optimise";
|
||||
nfc = "time nix flake check ~/Developer/nix/NixOSDots";
|
||||
nfu = "time nix flake update --flake ~/Developer/nix/NixOSDots";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#nixosModules = { pkgs, lib, ... }: {
|
||||
#};
|
||||
};
|
||||
}
|
||||
|
||||
37
modules_dentritic/features/core/locales.nix
Normal file
37
modules_dentritic/features/core/locales.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ self, inputs, ... }: {
|
||||
flake.nixosConfigurations.locales = { pkgs, lib, ... }: {
|
||||
# Toute la configuration lié à la langue, etc...
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "fr_FR.UTF-8";
|
||||
|
||||
extraLocaleSettings = {
|
||||
LC_ADDRESS = "fr_FR.UTF-8";
|
||||
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
||||
LC_MEASURMENT = "fr_FR.UTF-8";
|
||||
LC_MONETARY = "fr_FR.UTF-8";
|
||||
LC_NAME = "fr_FR.UTF-8";
|
||||
LC_NUMERIC = "fr_FR.UTF-8";
|
||||
LC_PAPER = "fr_FR.UTF-8";
|
||||
LC_TELEPHONE = "fr_FR.UTF-8";
|
||||
LC_TIME = "fr_FR.UTF-8";
|
||||
};
|
||||
};
|
||||
|
||||
# Keymap in X11
|
||||
services = {
|
||||
xserver = {
|
||||
xkb = {
|
||||
layout = "fr";
|
||||
#variant = "fr";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Keymap in the console
|
||||
console = {
|
||||
keyMap = "fr";
|
||||
};
|
||||
};
|
||||
}
|
||||
@ -24,6 +24,20 @@
|
||||
saveNoDups = true;
|
||||
share = true;
|
||||
};
|
||||
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
package = pkgs.oh-my-zsh;
|
||||
plugins = [
|
||||
"git"
|
||||
"golang"
|
||||
"docker"
|
||||
"eza"
|
||||
"fzf"
|
||||
"gh"
|
||||
"kitty"
|
||||
];
|
||||
};
|
||||
};
|
||||
starship = {
|
||||
enable = true;
|
||||
@ -31,6 +45,17 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixosModules.shell = { pkgs, lib, ... }: {
|
||||
environment = {
|
||||
pathsToLink = [ "/share/zsh" ];
|
||||
systemPackages = with pkgs; [
|
||||
eza
|
||||
fzf
|
||||
cmatrix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
perSystem = { pkgs, lib, ... }: {
|
||||
|
||||
@ -10,6 +10,18 @@
|
||||
unrar
|
||||
p7zip-rar
|
||||
obs-studio
|
||||
# System utils
|
||||
ripgrep
|
||||
sshfs
|
||||
wget
|
||||
tree
|
||||
ffmpeg-full
|
||||
netcat
|
||||
tmux
|
||||
gnupg
|
||||
gh
|
||||
|
||||
inputs.zen-browser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
38
modules_dentritic/features/desktop/gaming/steam.nix
Normal file
38
modules_dentritic/features/desktop/gaming/steam.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ self, inputs, ... }: {
|
||||
flake.nixosModules.steam = { pkgs, lib, ... }: {
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
gamescopeSession = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
gamemode = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Proton GE
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
|
||||
"/home/alex/.steam/root/compatibilitytools.d";
|
||||
};
|
||||
};
|
||||
|
||||
# Programmes requis
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
mangohud
|
||||
protonup-ng
|
||||
protonup-qt
|
||||
protontricks
|
||||
protonplus
|
||||
#lutris
|
||||
#heroic
|
||||
#bottles
|
||||
prismlauncher
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
@ -24,6 +24,10 @@
|
||||
self.nixosModules.utils
|
||||
self.nixosModules.sysFetch
|
||||
self.nixosModules.git
|
||||
self.nixosModules.locales
|
||||
self.nixosModules.shell
|
||||
self.nixosModules.greeter
|
||||
self.nixosModules.steam
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -37,13 +37,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Flatpak
|
||||
#services = {
|
||||
# flatpak = {
|
||||
# enable = true;
|
||||
# };
|
||||
#};
|
||||
|
||||
# Todo -> Display server for all nixos machines (lightdm or smth else)
|
||||
|
||||
# User
|
||||
@ -69,12 +62,6 @@
|
||||
hyprland = {
|
||||
enable = true;
|
||||
};
|
||||
zsh = {
|
||||
enable = true;
|
||||
autosuggestions = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
@ -90,7 +77,6 @@
|
||||
NIXOS_OZONE_WL = "1";
|
||||
LIBVA_DRIVER_NAME = "radeonsi";
|
||||
};
|
||||
pathsToLink = [ "/share/zsh" ];
|
||||
};
|
||||
|
||||
system = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user