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" "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": { "nvfetcher": {
"inputs": { "inputs": {
"flake-compat": [ "flake-compat": [
@ -200,6 +220,7 @@
"nix-index-database": "nix-index-database", "nix-index-database": "nix-index-database",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-xr": "nixpkgs-xr", "nixpkgs-xr": "nixpkgs-xr",
"noctalia": "noctalia",
"waterfox": "waterfox" "waterfox": "waterfox"
} }
}, },

View file

@ -9,9 +9,11 @@
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr"; nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
nix-index-database.url = "github:nix-community/nix-index-database"; nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; 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 { nixosConfigurations."fenix" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };

View file

@ -1,5 +1,6 @@
{config, pkgs, lib, inputs, vars, osConfig, ...}:{ {config, pkgs, lib, inputs, vars, osConfig, ...}:{
imports = [ imports = [
inputs.noctalia.homeModules.default
]; ];
home = rec { home = rec {
@ -39,6 +40,7 @@
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
programs.noctalia-shell.enable = true;
programs.foot = { programs.foot = {
enable = true; enable = true;
settings.main.font = (if osConfig.var.username == "alyx" then "DepartureMono Nerd Font:size=18" else "monospace:size=12"); 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-foreground = "62ffff";
settings.colors.selection-background = "006e68"; settings.colors.selection-background = "006e68";
settings.colors.cursor = "002428 00ffff"; settings.colors.cursor = "002428 00ffff";
settings.main.pad = "12x12 center"; settings.main.pad = "6x6 center";
}; };
programs.ncmpcpp = { programs.ncmpcpp = {

View file

@ -31,6 +31,9 @@
# thunderbird # thunderbird
]; ];
}; };
hardware.bluetooth.enable = true;
services.power-profiles-daemon.enable = true;
services.upower.enable = true;
#system.stateVersion = "25.11"; # Did you read the comment? #system.stateVersion = "25.11"; # Did you read the comment?