quickshell
This commit is contained in:
parent
542227d7a8
commit
7d4cff0bed
5 changed files with 207 additions and 40 deletions
65
flake.lock
generated
65
flake.lock
generated
|
|
@ -281,6 +281,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"noctalia": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"quickshell": [
|
||||||
|
"quickshell"
|
||||||
|
],
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1761190730,
|
||||||
|
"narHash": "sha256-XAs/Q4zBJIfK/bwq9KjTUkTH15A+Pe2rIilyvalEHuM=",
|
||||||
|
"owner": "noctalia-dev",
|
||||||
|
"repo": "noctalia-shell",
|
||||||
|
"rev": "c3439b262c7cb3d57c93197a93a3aa382582bdae",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "noctalia-dev",
|
||||||
|
"repo": "noctalia-shell",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": [
|
"flake-parts": [
|
||||||
|
|
@ -306,12 +330,34 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"quickshell": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1760822546,
|
||||||
|
"narHash": "sha256-cy3wJQQzQbZ/EYUfTDuMiP/haPOjkqGgWOPPl7K9oiM=",
|
||||||
|
"owner": "outfoxxed",
|
||||||
|
"repo": "quickshell",
|
||||||
|
"rev": "3e2ce40b18af943f9ba370ed73565e9f487663ef",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "outfoxxed",
|
||||||
|
"repo": "quickshell",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nix-colors": "nix-colors",
|
"nix-colors": "nix-colors",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"noctalia": "noctalia",
|
||||||
|
"quickshell": "quickshell",
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix",
|
||||||
"stylix": "stylix",
|
"stylix": "stylix",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
|
|
@ -320,7 +366,7 @@
|
||||||
"spicetify-nix": {
|
"spicetify-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"systems": "systems"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760848035,
|
"lastModified": 1760848035,
|
||||||
|
|
@ -349,7 +395,7 @@
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems_2",
|
"systems": "systems_3",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
|
|
@ -400,6 +446,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tinted-foot": {
|
"tinted-foot": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,15 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
quickshell = {
|
||||||
|
url = "github:outfoxxed/quickshell";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
noctalia = {
|
||||||
|
url = "github:noctalia-dev/noctalia-shell";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.quickshell.follows = "quickshell"; # Use same quickshell version
|
||||||
|
};
|
||||||
|
|
||||||
nix-colors.url = "github:misterio77/nix-colors";
|
nix-colors.url = "github:misterio77/nix-colors";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.zen-browser.homeModules.twilight
|
inputs.zen-browser.homeModules.twilight
|
||||||
inputs.spicetify-nix.homeManagerModules.default
|
inputs.spicetify-nix.homeManagerModules.default
|
||||||
|
./noctalia.nix
|
||||||
];
|
];
|
||||||
# Home Manager settings
|
# Home Manager settings
|
||||||
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||||
|
|
@ -28,7 +29,7 @@ in {
|
||||||
tmux
|
tmux
|
||||||
fastfetch
|
fastfetch
|
||||||
btop
|
btop
|
||||||
spotify
|
#spotify
|
||||||
pavucontrol
|
pavucontrol
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
hyprcursor
|
hyprcursor
|
||||||
|
|
@ -46,7 +47,7 @@ in {
|
||||||
wofi
|
wofi
|
||||||
mako
|
mako
|
||||||
kitty
|
kitty
|
||||||
vesktop
|
# vesktop
|
||||||
libsForQt5.qtstyleplugin-kvantum
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
libsForQt5.qt5ct
|
libsForQt5.qt5ct
|
||||||
rose-pine-kvantum
|
rose-pine-kvantum
|
||||||
|
|
@ -57,12 +58,13 @@ in {
|
||||||
DisableAppUpdate = true;
|
DisableAppUpdate = true;
|
||||||
DisableTelemetry = true;
|
DisableTelemetry = true;
|
||||||
};
|
};
|
||||||
|
programs.vesktop.enable = true;
|
||||||
|
|
||||||
#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" = {
|
||||||
source = symlink "${dots}/hypr";
|
source = symlink "${dots}/hypr";
|
||||||
|
|
@ -113,37 +115,7 @@ 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";
|
||||||
|
|
|
||||||
69
modules/home-manager/noctalia.nix
Normal file
69
modules/home-manager/noctalia.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
{
|
||||||
|
home-manager.users.drfoobar = {
|
||||||
|
# import the home manager module
|
||||||
|
imports = [
|
||||||
|
inputs.noctalia.homeModules.default
|
||||||
|
];
|
||||||
|
|
||||||
|
# configure options
|
||||||
|
programs.noctalia-shell = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
# configure noctalia here; defaults will
|
||||||
|
# be deep merged with these attributes.
|
||||||
|
bar = {
|
||||||
|
density = "compact";
|
||||||
|
position = "right";
|
||||||
|
showCapsule = false;
|
||||||
|
widgets = {
|
||||||
|
left = [
|
||||||
|
{
|
||||||
|
id = "SidePanelToggle";
|
||||||
|
useDistroLogo = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "WiFi";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
id = "Bluetooth";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
center = [
|
||||||
|
{
|
||||||
|
hideUnoccupied = false;
|
||||||
|
id = "Workspace";
|
||||||
|
labelMode = "none";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
right = [
|
||||||
|
{
|
||||||
|
alwaysShowPercentage = false;
|
||||||
|
id = "Battery";
|
||||||
|
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,
|
||||||
|
# but in this case must include *all* settings.
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,60 @@
|
||||||
{pkgs, ...}: {
|
{ config, pkgs, ... }:
|
||||||
stylix.enable = true;
|
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
{
|
||||||
|
fonts.fontconfig.enable = true;
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
noto-fonts-emoji
|
||||||
|
fira
|
||||||
|
fira-sans
|
||||||
|
fira-code
|
||||||
|
dejavu_fonts
|
||||||
|
nerd-fonts.jetbrains-mono
|
||||||
|
nerd-fonts.iosevka
|
||||||
|
];
|
||||||
|
|
||||||
|
stylix = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
||||||
|
|
||||||
|
fonts = {
|
||||||
|
serif = {
|
||||||
|
package = pkgs.fira;
|
||||||
|
name = "Fira Sans Regular";
|
||||||
|
};
|
||||||
|
|
||||||
|
sansSerif = {
|
||||||
|
package = pkgs.fira;
|
||||||
|
name = "Fira Sans Regular";
|
||||||
|
};
|
||||||
|
|
||||||
|
monospace = {
|
||||||
|
package = pkgs.fira;
|
||||||
|
name = "Fira Sans Regular";
|
||||||
|
};
|
||||||
|
|
||||||
|
emoji = {
|
||||||
|
package = pkgs.noto-fonts-emoji;
|
||||||
|
name = "Noto Color Emoji";
|
||||||
|
};
|
||||||
|
|
||||||
|
sizes = {
|
||||||
|
applications = 10;
|
||||||
|
terminal = 10;
|
||||||
|
desktop = 10;
|
||||||
|
popups = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
targets.nixvim.enable = false;
|
||||||
|
targets.qt.enable = true;
|
||||||
|
# targets.rofi.enable = false;
|
||||||
|
targets.spicetify.enable = true;
|
||||||
|
# image = ../../assets/Shogoki.png;
|
||||||
|
|
||||||
|
# opacity = {
|
||||||
|
# desktop = 0.5;
|
||||||
|
# terminal = 0.9;
|
||||||
|
# };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue