Lot of change on structs
This commit is contained in:
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;
|
||||
};
|
||||
};
|
||||
}
|
||||
File renamed without changes.
@@ -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 |
File renamed without changes.
@@ -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; [
|
||||
papirus-icon-theme
|
||||
gnomeExtensions.paperwm
|
||||
gnomeExtensions.app-hider
|
||||
gnomeExtensions.dash-to-dock
|
||||
];
|
||||
|
||||
dconf = {
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -12,6 +12,8 @@
|
||||
homeDirectory = "/home/alistreaza";
|
||||
};
|
||||
|
||||
home.xdg.enable = true;
|
||||
|
||||
# Shell apps
|
||||
home.shell.nh.enable = true;
|
||||
home.shell.zsh.enable = true;
|
||||
|
||||
@@ -12,23 +12,23 @@
|
||||
os.networks.manager.enable = true;
|
||||
|
||||
# Printing and sharing
|
||||
os.networks.printing.enable = true;
|
||||
os.networks.samba.enable = true;
|
||||
os.networks.printing.enable = true;
|
||||
|
||||
# System configurations
|
||||
os.keyboard.apple.enable = true;
|
||||
|
||||
# Gnome configurations
|
||||
os.gnome.shell.enable = true;
|
||||
os.gnome.apps.enable = true;
|
||||
|
||||
# Virtualisation Apps
|
||||
os.virtualisation.cuda.enable = true;
|
||||
os.virtualisation.podman.enable = true;
|
||||
|
||||
# Ssh
|
||||
# Terminal
|
||||
os.flatpak.enable = true;
|
||||
programs.ssh.enableAskPassword = false; # No-window git push fix
|
||||
|
||||
# Shells configurations
|
||||
os.shells.gnome.enable = true;
|
||||
|
||||
# System version
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
services.flatpak.packages = [
|
||||
"io.github.flattool.Warehouse"
|
||||
];
|
||||
}
|
||||
@@ -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"
|
||||
];
|
||||
}
|
||||
@@ -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.
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
@@ -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.
@@ -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;
|
||||
|
||||
};
|
||||
}
|
||||
@@ -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
|
||||
|
||||
};
|
||||
}
|
||||
@@ -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.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,4 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
@@ -16,10 +15,6 @@ in
|
||||
|
||||
services.printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs; [
|
||||
cups-filters
|
||||
cups-browsed
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
-1
@@ -26,7 +26,6 @@ in
|
||||
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
pods
|
||||
podman-compose
|
||||
];
|
||||
};
|
||||
File renamed without changes.
Reference in new issue
Block a user