home/vscode,noctalia

This commit is contained in:
tulg 2025-10-24 17:23:49 +03:00
parent 7d4cff0bed
commit e5baea2175
4 changed files with 103 additions and 68 deletions

View file

@ -226,7 +226,7 @@ bindm = $mainMod, mouse:273, resizewindow
#exec-once = wpaperd #exec-once = wpaperd
# status bar # status bar
exec-once = waybar exec-once = noctalia-shell
layerrule = blur , waybar layerrule = blur , waybar
layerrule = ignorezero , waybar layerrule = ignorezero , waybar

View file

@ -16,7 +16,7 @@
noctalia = { noctalia = {
url = "github:noctalia-dev/noctalia-shell"; url = "github:noctalia-dev/noctalia-shell";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.quickshell.follows = "quickshell"; # Use same quickshell version inputs.quickshell.follows = "quickshell"; # Use same quickshell version
}; };
nix-colors.url = "github:misterio77/nix-colors"; nix-colors.url = "github:misterio77/nix-colors";
@ -82,6 +82,8 @@
./hosts/archangel/configuration.nix ./hosts/archangel/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
stylix.nixosModules.stylix
./modules/home-manager/stylix.nix
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
@ -104,6 +106,8 @@
./hosts/phoenix/configuration.nix ./hosts/phoenix/configuration.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko
stylix.nixosModules.stylix
./modules/home-manager/stylix.nix
{ {
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;

View file

@ -11,15 +11,20 @@ in {
imports = [ imports = [
inputs.zen-browser.homeModules.twilight inputs.zen-browser.homeModules.twilight
inputs.spicetify-nix.homeManagerModules.default inputs.spicetify-nix.homeManagerModules.default
inputs.noctalia.homeModules.default
./noctalia.nix ./noctalia.nix
]; ];
# Home Manager settings # Home Manager settings
programs.noctalia-shell.enable = true;
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"]; nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
home.username = "tulg"; home.username = "tulg";
home.homeDirectory = "/home/tulg"; home.homeDirectory = "/home/tulg";
home.stateVersion = "25.05"; home.stateVersion = "25.05";
home.packages = with pkgs; [ home.packages = with pkgs; [
quickshell
networkmanagerapplet networkmanagerapplet
inputs.noctalia.packages.${pkgs.system}.default
wdisplays wdisplays
nwg-look nwg-look
rose-pine-gtk-theme rose-pine-gtk-theme
@ -29,7 +34,6 @@ in {
tmux tmux
fastfetch fastfetch
btop btop
#spotify
pavucontrol pavucontrol
wl-clipboard wl-clipboard
hyprcursor hyprcursor
@ -47,12 +51,20 @@ in {
wofi wofi
mako mako
kitty kitty
# vesktop
libsForQt5.qtstyleplugin-kvantum libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct libsForQt5.qt5ct
rose-pine-kvantum rose-pine-kvantum
]; ];
programs.vscode.enable = true; programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
#pkgs.vscode-extensions.bbenoist.nix
pkgs.vscode-extensions.kamadorueda.alejandra
pkgs.vscode-extensions.jnoortheen.nix-ide
];
};
programs.zen-browser.enable = true; programs.zen-browser.enable = true;
programs.zen-browser.policies = { programs.zen-browser.policies = {
DisableAppUpdate = true; DisableAppUpdate = true;
@ -62,8 +74,8 @@ in {
programs.spicetify = { programs.spicetify = {
enable = true; enable = true;
# theme = spicePkgs.themes.ziro; # theme = spicePkgs.themes.ziro;
# colorScheme = "rose-pine-moon"; # colorScheme = "rose-pine-moon";
}; };
xdg.configFile."hypr" = { xdg.configFile."hypr" = {
@ -115,7 +127,37 @@ in {
userEmail = "tulg@protonmail.ch"; userEmail = "tulg@protonmail.ch";
}; };
# gtk = {
# enable = true;
# theme = {
# name = "Nordic-darker";
# package = pkgs.nordic;
# };
# iconTheme = {
# name = "Papirus-Dark";
# package = pkgs.papirus-icon-theme;
# };
#};
#home.pointerCursor = {
# gtk.enable = true;
# x11.enable = true;
# package = pkgs.bibata-cursors;
# name = "Bibata-Modern-Classic";
# size = 16;
#};
#nixpkgs.config.qt5 = {
# enable = true;
# platformTheme = "qt5ct";
# style = {
# package = pkgs.rose-pine-kvantum;
# name = "Rose-pine";
# };
#};
#
#
home.sessionVariables = { home.sessionVariables = {
NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland NIXOS_OZONE_WL = "1"; # hint Electron apps to use Wayland
# GTK_THEME = "rose-pine"; # GTK_THEME = "rose-pine";

View file

@ -1,69 +1,58 @@
{ pkgs, inputs, ... }: { pkgs, inputs, ... }:
{ {
home-manager.users.drfoobar = { imports = [
# import the home manager module #inputs.noctalia.homeModules.default
imports = [ ];
inputs.noctalia.homeModules.default
];
# configure options
programs.noctalia-shell = { programs.noctalia-shell = {
enable = true; enable = true;
settings = { settings = {
# configure noctalia here; defaults will # configure noctalia here; defaults will
# be deep merged with these attributes. # be deep merged with these attributes.
bar = { bar = {
density = "compact"; density = "compact";
position = "right"; position = "top";
showCapsule = false; showCapsule = false;
widgets = { widgets = {
left = [ left = [
{ { id = "Workspace"; }
id = "SidePanelToggle"; { id = "ActiveWindow"; }
useDistroLogo = true;
}
{
id = "WiFi"; ];
} center = [
{ { hideUnoccupied = false; id = "Workspace"; labelMode = "none"; }
id = "Bluetooth"; ];
} right = [
]; { id = "Tray"; }
center = [
{ { alwaysShowPercentage = false; id = "Battery"; warningThreshold = 30; }
hideUnoccupied = false; {
id = "Workspace"; formatHorizontal = "HH:mm";
labelMode = "none"; formatVertical = "HH mm";
} id = "Clock";
]; useMonospacedFont = true;
right = [ usePrimaryColor = true;
{
alwaysShowPercentage = false; }
id = "Battery"; { id = "SidePanelToggle"; useDistroLogo = true; }
warningThreshold = 30;
} ];
{
formatHorizontal = "HH:mm";
formatVertical = "HH mm";
id = "Clock";
useMonospacedFont = true;
usePrimaryColor = true;
}
];
};
};
colorSchemes.predefinedScheme = "Rosepine";
general = {
avatarImage = "/home/drfoobar/.face";
radiusRatio = 0.2;
};
location = {
monthBeforeDay = true;
name = "Bursa";
}; };
}; };
# this may also be a string or a path to a JSON file, colorSchemes.predefinedScheme = "Rosepine";
# but in this case must include *all* settings. general = {
avatarImage = "/home/drfoobar/.face";
radiusRatio = 0.2;
};
location = {
monthBeforeDay = true;
name = "Bursa";
};
}; };
# this may also be a string or a path to a JSON file,
# but in this case must include *all* settings.
}; };
} }