From 940a007bb02399aa8324d3bb36eee3d62dd41afe Mon Sep 17 00:00:00 2001 From: Polen Date: Wed, 28 Jan 2026 10:42:22 -0500 Subject: [PATCH] noctalia <3 --- devices/xps13/configuration.nix | 10 ++++++++++ flake.lock | 21 +++++++++++++++++++++ flake.nix | 4 ++++ 3 files changed, 35 insertions(+) diff --git a/devices/xps13/configuration.nix b/devices/xps13/configuration.nix index a182c04..6cc43df 100644 --- a/devices/xps13/configuration.nix +++ b/devices/xps13/configuration.nix @@ -4,12 +4,15 @@ { config, pkgs, + inputs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix + inputs.noctalia.nixosModules.default ]; + services.noctalia-shell.enable = true; hardware.bluetooth = { enable = true; @@ -18,6 +21,10 @@ services.blueman.enable = true; services.openssh.enable = true; + + services.power-profiles-daemon.enable = true; + services.upower.enable = true; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -95,10 +102,12 @@ libnotify bemenu pavucontrol + pamixer networkmanagerapplet wl-clipboard libsForQt5.qt5.qtquickcontrols2 libsForQt5.qt5.qtgraphicaleffects + ntfs3g # Nix related nixfmt-classic @@ -109,6 +118,7 @@ programs.hyprland = { enable = true; xwayland.enable = true; + withUWSM = true; }; services.gvfs.enable = true; diff --git a/flake.lock b/flake.lock index 79216e5..5b9d858 100644 --- a/flake.lock +++ b/flake.lock @@ -255,6 +255,26 @@ "type": "github" } }, + "noctalia": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1769187095, + "narHash": "sha256-1EpJcnYSIpkHnMChluK6LoDtOkjkPOl/zqhZyqGefqs=", + "owner": "noctalia-dev", + "repo": "noctalia-shell", + "rev": "ee2e9cdb0c7618e00d4c78b359d461733416a673", + "type": "github" + }, + "original": { + "owner": "noctalia-dev", + "repo": "noctalia-shell", + "type": "github" + } + }, "nvf": { "inputs": { "flake-parts": "flake-parts_2", @@ -283,6 +303,7 @@ "disko": "disko", "nix-darwin": "nix-darwin", "nixpkgs": "nixpkgs_3", + "noctalia": "noctalia", "sops-nix": "sops-nix", "vimix": "vimix" } diff --git a/flake.nix b/flake.nix index c132a53..5ac8689 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,10 @@ nix-darwin.url = "github:LnL7/nix-darwin"; vimix.url = "github:Polensky/vimix"; sops-nix.url = "github:Mic92/sops-nix"; + noctalia = { + url = "github:noctalia-dev/noctalia-shell"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = {