This commit is contained in:
maya 2026-02-25 19:42:20 +08:00
parent 7cd5e7d8dd
commit d162b7c9f2
Signed by: maya
SSH key fingerprint: SHA256:Im2Y1O7zWsr6fcIXLTGk3tHCels6Ptm2pE3svwm5m/0
4 changed files with 30 additions and 2 deletions

21
flake.lock generated
View file

@ -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"
}
},

View file

@ -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; };

View file

@ -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 = {

View file

@ -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?