mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-09 02:13:08 +02:00
bluetooth
Signed-off-by: Alex Stan <90788596+Ultra980@users.noreply.github.com>
This commit is contained in:
parent
2810f17f67
commit
3e6e706f3b
3 changed files with 30 additions and 12 deletions
|
@ -98,9 +98,8 @@
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
ultra = home-manager.lib.homeManagerConfiguration {
|
ultra = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
extraSpecialArgs = { inherit inputs; };
|
|
||||||
modules = [
|
modules = [
|
||||||
./users/ultra/home.nix
|
( import ./users/ultra/home.nix inputs )
|
||||||
(args: { # https://ayats.org/blog/channels-to-flakes
|
(args: { # https://ayats.org/blog/channels-to-flakes
|
||||||
xdg.configFile."nix/inputs/nixpkgs".source = nixpkgs.outPath;
|
xdg.configFile."nix/inputs/nixpkgs".source = nixpkgs.outPath;
|
||||||
home.sessionVariables.NIX_PATH = "nixpkgs=${args.config.xdg.configHome}/nix/inputs/nixpkgs$\{NIX_PATH:+:$NIX_PATH}";
|
home.sessionVariables.NIX_PATH = "nixpkgs=${args.config.xdg.configHome}/nix/inputs/nixpkgs$\{NIX_PATH:+:$NIX_PATH}";
|
||||||
|
|
|
@ -194,8 +194,8 @@ in {
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
networking.firewall.allowedTCPPorts = [ 21 20 ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
networking.firewall.allowedUDPPorts = [ 21 20 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
@ -286,6 +286,21 @@ in {
|
||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
autoMount = true;
|
autoMount = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FTP daemon
|
||||||
|
vsftpd = {
|
||||||
|
enable = true; # enable the daemon
|
||||||
|
localUsers = true; # allow local users to use the daemon
|
||||||
|
|
||||||
|
# allow anonymous users to log in
|
||||||
|
anonymousUser = true;
|
||||||
|
anonymousUserNoPassword = true;
|
||||||
|
anonymousUploadEnable = false; # Anyone uploading files wouldn't be so secure, would it?
|
||||||
|
anonymousMkdirEnable = false; # Neither would them creating directories.
|
||||||
|
writeEnable = false;
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -303,6 +318,11 @@ hardware = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
# bluetooth config
|
||||||
|
bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs, inputs, lib, config, ... }:
|
inputs:
|
||||||
|
{ pkgs, lib, config, ... }:
|
||||||
let
|
let
|
||||||
nix-software-center = inputs.nix-software-center.packages.${pkgs.system}.nix-software-center;
|
nix-software-center = inputs.nix-software-center.packages.${pkgs.system}.nix-software-center;
|
||||||
/*
|
/*
|
||||||
|
@ -18,7 +19,6 @@ let
|
||||||
nh = inputs.nix-but-gigachad.packages.${pkgs.system}.default;
|
nh = inputs.nix-but-gigachad.packages.${pkgs.system}.default;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nix-doom-emacs.hmModule
|
|
||||||
inputs.hyprland.homeManagerModules.default
|
inputs.hyprland.homeManagerModules.default
|
||||||
];
|
];
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
|
@ -137,17 +137,16 @@ in {
|
||||||
screen
|
screen
|
||||||
moonlander
|
moonlander
|
||||||
amfora
|
amfora
|
||||||
|
weechat
|
||||||
|
filezilla
|
||||||
|
fluffychat
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# ${config.xdg.configFile}."hypr/hyprland.conf".source = ./configs/hyprland/hyprland.conf;
|
xdg.configFile."hypr/hyprland.conf".source = ./configs/hyprland/hyprland.conf;
|
||||||
${config.xdg.configFile}."presets/user/everblush.json".source = ./configs/presets/everblush.json;
|
xdg.configFile."presets/user/everblush.json".source = ./configs/presets/everblush.json;
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
doom-emacs = {
|
|
||||||
enable = false; # takes a lot of time to compile
|
|
||||||
doomPrivateDir = ./doom.d;
|
|
||||||
};
|
|
||||||
# fish.enable = true;
|
# fish.enable = true;
|
||||||
|
|
||||||
# Helix config
|
# Helix config
|
||||||
|
|
Loading…
Reference in a new issue