mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-11 04:48:25 -07:00
clipboard
This commit is contained in:
parent
23aafcd64d
commit
09b421fad3
1 changed files with 34 additions and 22 deletions
|
|
@ -2,21 +2,27 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
# Remove this line - overlays are now handled in flake.nix
|
||||
# ../overlays/halloy-overlay.nix
|
||||
];
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
# Remove this line - overlays are now handled in flake.nix
|
||||
# ../overlays/halloy-overlay.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
powerManagement.cpuFreqGovernor = "ondemand"; # hopefully fix low cpu freq
|
||||
hardware.cpu.amd.updateMicrocode = true; # same
|
||||
hardware.cpu.amd.updateMicrocode = true; # same
|
||||
# networking.hostName = "nixos"; # Define your hostname.
|
||||
# Pick only one of the below networking options.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
|
@ -29,8 +35,11 @@
|
|||
isNormalUser = true;
|
||||
home = "/home/death916";
|
||||
description = "Death916";
|
||||
extraGroups = ["wheel" "networkmanager" ];
|
||||
};
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
};
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
@ -43,7 +52,7 @@
|
|||
# keyMap = "us";
|
||||
# useXkbConfig = true; # use xkb.options in tty.
|
||||
# };
|
||||
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
|
|
@ -73,31 +82,36 @@
|
|||
# services.libinput.enable = true;
|
||||
# add flox repos
|
||||
nix.settings.trusted-substituters = [ "https://cache.flox.dev" ];
|
||||
nix.settings.trusted-public-keys = [ "flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=" ];
|
||||
nix.settings.trusted-public-keys = [
|
||||
"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs="
|
||||
];
|
||||
# my settings
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Flakes clones its dependencies through the git command,
|
||||
# so git must be installed first
|
||||
git
|
||||
git
|
||||
vim
|
||||
wget
|
||||
tailscale
|
||||
halloy # Add halloy to your system packages
|
||||
halloy # Add halloy to your system packages
|
||||
conda
|
||||
inputs.flox.packages.${pkgs.system}.flox
|
||||
kopia-ui
|
||||
stremio
|
||||
|
||||
wl-clipboard
|
||||
];
|
||||
|
||||
|
||||
# to make exit nodes work
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
# hardware.blueman.enable = true;
|
||||
# hardware.bluetooth.package - pkgs.bluezFull;
|
||||
|
||||
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
# my additions
|
||||
services.tailscale = {
|
||||
|
|
@ -107,10 +121,8 @@
|
|||
};
|
||||
networking.interfaces.tailscale0.mtu = 1500;
|
||||
programs.firefox.enable = true;
|
||||
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue