From d162b7c9f28a64e04cd2db7eaf2fb5d757ac2f42 Mon Sep 17 00:00:00 2001 From: maya Date: Wed, 25 Feb 2026 19:42:20 +0800 Subject: [PATCH] noctalia --- flake.lock | 21 +++++++++++++++++++++ flake.nix | 4 +++- home/default.nix | 4 +++- hosts/fenix/configuration.nix | 3 +++ 4 files changed, 30 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index 0ef7e77..0e17604 100644 --- a/flake.lock +++ b/flake.lock @@ -164,6 +164,26 @@ "type": "github" } }, + "noctalia": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1771979542, + "narHash": "sha256-0hqvh2D8tdwFG9pT9Ds1EysZYPTKpVJCunnXQ31MUZ8=", + "owner": "noctalia-dev", + "repo": "noctalia-shell", + "rev": "fe8e23f1d0e6ed4bdefd061e6834c4d61f2266be", + "type": "github" + }, + "original": { + "owner": "noctalia-dev", + "repo": "noctalia-shell", + "type": "github" + } + }, "nvfetcher": { "inputs": { "flake-compat": [ @@ -200,6 +220,7 @@ "nix-index-database": "nix-index-database", "nixpkgs": "nixpkgs", "nixpkgs-xr": "nixpkgs-xr", + "noctalia": "noctalia", "waterfox": "waterfox" } }, diff --git a/flake.nix b/flake.nix index 5b90eb0..2fb7885 100644 --- a/flake.nix +++ b/flake.nix @@ -9,9 +9,11 @@ nixpkgs-xr.url = "github:nix-community/nixpkgs-xr"; nix-index-database.url = "github:nix-community/nix-index-database"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; + noctalia.url = "github:noctalia-dev/noctalia-shell"; + noctalia.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = inputs@{self, nixpkgs, home-manager, nixpkgs-xr, nix-index-database, ...}:{ + outputs = inputs@{self, nixpkgs, home-manager, nixpkgs-xr, nix-index-database, noctalia, ...}:{ nixosConfigurations."fenix" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; diff --git a/home/default.nix b/home/default.nix index 36bb09e..eeb5b99 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,5 +1,6 @@ {config, pkgs, lib, inputs, vars, osConfig, ...}:{ imports = [ + inputs.noctalia.homeModules.default ]; home = rec { @@ -39,6 +40,7 @@ }; programs.home-manager.enable = true; + programs.noctalia-shell.enable = true; programs.foot = { enable = true; settings.main.font = (if osConfig.var.username == "alyx" then "DepartureMono Nerd Font:size=18" else "monospace:size=12"); @@ -64,7 +66,7 @@ settings.colors.selection-foreground = "62ffff"; settings.colors.selection-background = "006e68"; settings.colors.cursor = "002428 00ffff"; - settings.main.pad = "12x12 center"; + settings.main.pad = "6x6 center"; }; programs.ncmpcpp = { diff --git a/hosts/fenix/configuration.nix b/hosts/fenix/configuration.nix index 3322c2f..76c82da 100644 --- a/hosts/fenix/configuration.nix +++ b/hosts/fenix/configuration.nix @@ -31,6 +31,9 @@ # thunderbird ]; }; + hardware.bluetooth.enable = true; + services.power-profiles-daemon.enable = true; + services.upower.enable = true; #system.stateVersion = "25.11"; # Did you read the comment?