Lot of change on structs

This commit is contained in:
Administrateur committed 2026-04-09 09:09:13 +02:00
1 parent e656247a48
commit 90bc1eb63d
42 files changed
+108 -133

No files matched your search

@@ -0,0 +1,8 @@
{ ... }:
{
home.file = {
".config/ghostty/" = {
source = ./ghostty;
};
};
}
-6
View File
@@ -1,6 +0,0 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
aria2
];
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 526 KiB

After

Width:  |  Height:  |  Size: 526 KiB

@@ -1,5 +0,0 @@
{ config, ... }:
{
homebrew.enable = true;
homebrew.taps = builtins.attrNames config.nix-homebrew.taps;
}
@@ -1,28 +0,0 @@
{
homebrew-core,
homebrew-cask,
...
}:
{
nix-homebrew = {
# User owning the Homebrew prefix
user = "alistreaza";
# Install Homebrew under the default prefix
enable = true;
# Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
enableRosetta = false;
# Optional: Declarative tap management
taps = {
"homebrew/homebrew-core" = homebrew-core;
"homebrew/homebrew-cask" = homebrew-cask;
};
# Optional: Enable fully-declarative tap management
#
# With mutableTaps disabled, taps can no longer be added imperatively with `brew tap`.
mutableTaps = false;
};
}
@@ -7,6 +7,9 @@ with lib.hm.gvariant;
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
papirus-icon-theme papirus-icon-theme
gnomeExtensions.paperwm
gnomeExtensions.app-hider
gnomeExtensions.dash-to-dock
]; ];
dconf = { dconf = {
-10
View File
@@ -1,10 +0,0 @@
{ ... }:
{
xdg = {
userDirs = {
enable = true;
createDirectories = true;
};
};
}
+2
View File
@@ -12,6 +12,8 @@
homeDirectory = "/home/alistreaza"; homeDirectory = "/home/alistreaza";
}; };
home.xdg.enable = true;
# Shell apps # Shell apps
home.shell.nh.enable = true; home.shell.nh.enable = true;
home.shell.zsh.enable = true; home.shell.zsh.enable = true;
+6 -6
View File
@@ -12,23 +12,23 @@
os.networks.manager.enable = true; os.networks.manager.enable = true;
# Printing and sharing # Printing and sharing
os.networks.printing.enable = true;
os.networks.samba.enable = true; os.networks.samba.enable = true;
os.networks.printing.enable = true;
# System configurations # System configurations
os.keyboard.apple.enable = true; os.keyboard.apple.enable = true;
# Gnome configurations
os.gnome.shell.enable = true;
os.gnome.apps.enable = true;
# Virtualisation Apps # Virtualisation Apps
os.virtualisation.cuda.enable = true; os.virtualisation.cuda.enable = true;
os.virtualisation.podman.enable = true; os.virtualisation.podman.enable = true;
# Ssh # Terminal
os.flatpak.enable = true;
programs.ssh.enableAskPassword = false; # No-window git push fix programs.ssh.enableAskPassword = false; # No-window git push fix
# Shells configurations
os.shells.gnome.enable = true;
# System version # System version
system.stateVersion = "25.11"; system.stateVersion = "25.11";
} }
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
services.flatpak.packages = [
"io.github.flattool.Warehouse"
];
}
-12
View File
@@ -1,12 +0,0 @@
{ ... }:
{
services.flatpak.enable = true;
services.flatpak.update.auto = {
enable = true;
onCalendar = "weekly"; # Default value
};
services.flatpak.packages = [
"io.github.flattool.Warehouse"
];
}
-7
View File
@@ -1,7 +0,0 @@
{ ... }:
{
programs.zsh = {
enable = true;
enableCompletion = true;
};
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+20
View File
@@ -0,0 +1,20 @@
{ lib, config, ... }:
with lib;
let
cfg = config.home.xdg;
in
{
options.home.xdg = {
enable = mkEnableOption "Xdg service";
};
config = mkIf cfg.enable {
xdg = {
userDirs = {
enable = true;
createDirectories = true;
};
};
};
}
-22
View File
@@ -1,22 +0,0 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.home.ide.zed;
in
{
options.home.ide.zed = {
enable = mkEnableOption "Zen Editor options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
zed-editor
];
};
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+43
View File
@@ -0,0 +1,43 @@
{
lib,
config,
homebrew-core,
homebrew-cask,
...
}:
let
cfg = config.os.homebrew;
in
{
options.os.homebrew = {
enable = lib.mkEnableOption "Homebrew options";
};
config = lib.mkIf cfg.enable {
nix-homebrew = {
# User owning the Homebrew prefix
user = "alistreaza";
# Install Homebrew under the default prefix
enable = true;
# Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
enableRosetta = false;
# Optional: Declarative tap management
taps = {
"homebrew/homebrew-core" = homebrew-core;
"homebrew/homebrew-cask" = homebrew-cask;
};
# Optional: Enable fully-declarative tap management
#
# With mutableTaps disabled, taps can no longer be added imperatively with `brew tap`.
mutableTaps = false;
};
homebrew.enable = true;
homebrew.taps = builtins.attrNames config.nix-homebrew.taps;
};
}
-31
View File
@@ -1,31 +0,0 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
cfg = config.os.gnome.apps;
in
{
options.os.gnome.apps = {
enable = mkEnableOption "System gnome apps service";
};
config = mkIf cfg.enable {
environment = {
systemPackages =
with pkgs;
[ nautilus ]
++ [
papers
loupe
celluloid
];
};
services.gvfs.enable = true; # SMB, FTP, ... access
};
}
+19
View File
@@ -0,0 +1,19 @@
{ lib, config, ... }:
with lib;
let
cfg = config.os.flatpak;
in
{
options.os.flatpak = {
enable = mkEnableOption "System pipewire service";
};
config = mkIf cfg.enable {
services.flatpak.enable = true;
services.flatpak.update.auto = {
enable = true;
onCalendar = "weekly"; # Default value
};
};
}
File renamed without changes.
@@ -1,5 +1,4 @@
{ {
pkgs,
lib, lib,
config, config,
... ...
@@ -16,10 +15,6 @@ in
services.printing = { services.printing = {
enable = true; enable = true;
drivers = with pkgs; [
cups-filters
cups-browsed
];
}; };
}; };
@@ -26,7 +26,6 @@ in
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
pods
podman-compose podman-compose
]; ];
}; };
File renamed without changes.