Compare commits
3 Commits
b902e9137e
...
8eed8cf9f1
| Author | SHA1 | Date | |
|---|---|---|---|
| 8eed8cf9f1 | |||
| 873fa8703d | |||
| 3b1d577018 |
6
flake.lock
generated
6
flake.lock
generated
@ -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": {
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
6
modules/nix/WM/default.nix
Normal file
6
modules/nix/WM/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hyprland.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
32
modules/nix/WM/hyprland.nix
Normal file
32
modules/nix/WM/hyprland.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -4,5 +4,6 @@
|
|||||||
./nh.nix
|
./nh.nix
|
||||||
./nvf.nix
|
./nvf.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
|
./pkgs.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
23
modules/nix/base-cli/pkgs.nix
Normal file
23
modules/nix/base-cli/pkgs.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -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)
|
||||||
|
|||||||
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user