Compare commits

...

3 Commits

Author SHA1 Message Date
8eed8cf9f1 mv hyprland to module 2025-07-08 23:37:54 +02:00
873fa8703d update 2025-07-08 23:17:19 +02:00
3b1d577018 move basic cli pkgs that doesn't need extra config to a module 2025-07-08 23:16:58 +02:00
9 changed files with 69 additions and 28 deletions

6
flake.lock generated
View File

@ -349,11 +349,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1751995939, "lastModified": 1752008168,
"narHash": "sha256-C5CSTv+b8XSbqJwqTP8SGkZEK3YCCJnmvRbg209ql5w=", "narHash": "sha256-ioQsc5LGGMy8K1NSxutNJ0wThA9BozKCkqwYdSTE8jM=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "8f3259dbc57c8ee871492fde80f77468826bbd63", "rev": "1baa44cf8c3a4699d0beda91f39ba7942b46269d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -16,24 +16,17 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
home-manager home-manager
wget
kitty kitty
tldr
fastfetch fastfetch
tree
font-awesome font-awesome
dig
btop
thunderbird thunderbird
lf lf
file
qalculate-qt qalculate-qt
baobab baobab
arduino-ide arduino-ide
piper piper
element-desktop element-desktop
calibre calibre
vlc
loupe loupe
gimp3 gimp3
mullvad-vpn mullvad-vpn

View File

@ -10,9 +10,10 @@
networking.hostName = "desktop1"; networking.hostName = "desktop1";
smayzy = { smayzy = {
desktop.enable = true;
nvidia.enable = true; nvidia.enable = true;
virt.enable = true; virt.enable = true;
desktop.enable = true; hyprland.enable = true;
}; };
home-manager = { home-manager = {
@ -38,23 +39,7 @@
services.displayManager.sddm.enable = true; services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true; services.displayManager.sddm.wayland.enable = true;
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
mako
wofi
wlogout
waybar
wl-clipboard
libnotify
hyprpaper
hyprpolkitagent
webcord webcord
pavucontrol pavucontrol
cliphist cliphist

View File

@ -0,0 +1,6 @@
{ lib, config, pkgs, ... }:
{
imports = [
./hyprland.nix
];
}

View File

@ -0,0 +1,32 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.hyprland.enable = mkOption {
type = types.bool;
default = false;
description = "hyprland";
};
config = mkIf config.smayzy.hyprland.enable {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
environment.systemPackages = with pkgs; [
mako
wofi
wlogout
waybar
wl-clipboard
libnotify
hyprpaper
hyprpolkitagent
];
};
}

View File

@ -4,5 +4,6 @@
./nh.nix ./nh.nix
./nvf.nix ./nvf.nix
./fzf.nix ./fzf.nix
./pkgs.nix
]; ];
} }

View File

@ -0,0 +1,23 @@
{ config, lib, pkgs, ...}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.base-cli-pkgs.enable = mkOption {
type = types.bool;
default = false;
description = "install base cli pkgs that doesn't need extra config";
};
config = mkIf config.smayzy.base-cli-pkgs.enable {
environment.systemPackages = with pkgs; [
wget
tldr
tree
dig
btop
file
vim
];
};
}

View File

@ -10,6 +10,7 @@
./shell ./shell
./rice ./rice
./groups ./groups
./WM
]; ];
# Timzone and locales (same for all machines so I put it here) # Timzone and locales (same for all machines so I put it here)

View File

@ -15,7 +15,7 @@ in
nh.enable = true; nh.enable = true;
fzf.enable = true; fzf.enable = true;
zsh.enable = true; zsh.enable = true;
base-cli-pkgs.enable = true;
}; };
}; };
} }