noctalia
This commit is contained in:
20
flake.nix
20
flake.nix
@@ -10,6 +10,11 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
noctalia = {
|
||||
url = "github:noctalia-dev/noctalia-shell";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nix-colors.url = "github:misterio77/nix-colors";
|
||||
stylix = {
|
||||
url = "github:nix-community/stylix/release-25.11";
|
||||
@@ -29,6 +34,11 @@
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
blog-generator.url = "github:adrlau/blog-generator";
|
||||
|
||||
niri = {
|
||||
url = "github:sodiboo/niri-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
@@ -43,6 +53,8 @@
|
||||
lanzaboote,
|
||||
nixos-hardware,
|
||||
blog-generator,
|
||||
niri,
|
||||
noctalia,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
@@ -65,9 +77,13 @@
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
inputs.stylix.homeModules.stylix
|
||||
inputs.niri.homeModules.niri
|
||||
inputs.noctalia.homeModules.default
|
||||
];
|
||||
}
|
||||
|
||||
{ nixpkgs.overlays = [ niri.overlays.niri ]; }
|
||||
|
||||
./modules/unstable.nix
|
||||
|
||||
sops-nix.nixosModules.sops
|
||||
@@ -98,9 +114,13 @@
|
||||
home-manager.sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
inputs.stylix.homeModules.stylix
|
||||
inputs.niri.homeModules.niri
|
||||
inputs.noctalia.homeModules.default
|
||||
];
|
||||
}
|
||||
|
||||
{ nixpkgs.overlays = [ niri.overlays.niri ]; }
|
||||
|
||||
./modules/unstable.nix
|
||||
|
||||
sops-nix.nixosModules.sops
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../modules/unstable.nix
|
||||
../modules/nixpkgs.nix
|
||||
./unstable.nix
|
||||
./nixpkgs.nix
|
||||
|
||||
./sshconfig.nix
|
||||
./atuin.nix
|
||||
@@ -27,6 +27,7 @@
|
||||
./waybar.nix
|
||||
./wlogout.nix
|
||||
./niri.nix
|
||||
./noctalia.nix
|
||||
./wallpapers.nix
|
||||
./swww.nix
|
||||
./fonts.nix
|
||||
|
||||
@@ -44,14 +44,13 @@ in
|
||||
default-timeout = 15000;
|
||||
border-radius = 24;
|
||||
border-color = "#${palette.base08}FF";
|
||||
};
|
||||
|
||||
"mode=silent" = {
|
||||
invisible = true; # hide all notifications
|
||||
actions = false;
|
||||
icons = false;
|
||||
default-timeout = 0;
|
||||
};
|
||||
|
||||
settings."mode=silent" = {
|
||||
invisible = 1;
|
||||
actions = false;
|
||||
icons = false;
|
||||
default-timeout = 0;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
1289
home/niri.nix
1289
home/niri.nix
File diff suppressed because it is too large
Load Diff
17
home/nixpkgs.nix
Normal file
17
home/nixpkgs.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
nixpkgs = {
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
# example "python3.11-youtube-dl-2021.12.17"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
72
home/noctalia.nix
Normal file
72
home/noctalia.nix
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.noctalia-shell = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
||||
settings = {
|
||||
bar = {
|
||||
position = "top";
|
||||
density = "default";
|
||||
floating = false;
|
||||
exclusive = true;
|
||||
widgets = {
|
||||
left = [
|
||||
{ id = "Launcher"; }
|
||||
{ id = "Clock"; }
|
||||
{ id = "SystemMonitor"; }
|
||||
{ id = "ActiveWindow"; }
|
||||
{ id = "MediaMini"; }
|
||||
];
|
||||
center = [
|
||||
{ id = "Workspace"; }
|
||||
];
|
||||
right = [
|
||||
{ id = "Tray"; }
|
||||
{ id = "NotificationHistory"; }
|
||||
{ id = "Battery"; }
|
||||
{ id = "Volume"; }
|
||||
{ id = "Brightness"; }
|
||||
{ id = "ControlCenter"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
general = {
|
||||
radiusRatio = 0.2;
|
||||
animationSpeed = 1;
|
||||
};
|
||||
|
||||
colorSchemes = {
|
||||
useWallpaperColors = true;
|
||||
darkMode = true;
|
||||
};
|
||||
|
||||
wallpaper = {
|
||||
enabled = true;
|
||||
directory = "~/Pictures/wallpapers";
|
||||
automationEnabled = true;
|
||||
wallpaperChangeMode = "random";
|
||||
randomIntervalSec = 270;
|
||||
fillMode = "crop";
|
||||
};
|
||||
|
||||
appLauncher = {
|
||||
position = "center";
|
||||
sortByMostUsed = true;
|
||||
viewMode = "list";
|
||||
showCategories = true;
|
||||
};
|
||||
|
||||
notifications = {
|
||||
enabled = true;
|
||||
location = "top_right";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
17
home/unstable.nix
Normal file
17
home/unstable.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
unstableOverlay = final: prev: {
|
||||
unstable = import inputs.unstable {
|
||||
inherit (final.stdenv.hostPlatform) system;
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = [ unstableOverlay ];
|
||||
}
|
||||
Reference in New Issue
Block a user