Done a whole bunch of things i forgot

This commit is contained in:
xqtc161 2024-01-26 19:31:00 +01:00
parent f9d43c5280
commit 4d16ca1d45
5 changed files with 87 additions and 37 deletions

View file

@ -5,11 +5,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1701680307, "lastModified": 1705309234,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725", "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1704980875, "lastModified": 1705659542,
"narHash": "sha256-IPZmMjk5f4TBbEpzUFBc3OC1W6OwDNEXk2w/0uVXX1o=", "narHash": "sha256-WA3xVfAk1AYmFdwghT7mt/erYpsU6JPu9mdTEP/e9HQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5f0ab0eedc6ede69beb8f45561ffefa54edc6e65", "rev": "10cd9c53115061aa6a0a90aad0b0dde6a999cdb9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -41,11 +41,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1704874635, "lastModified": 1706098335,
"narHash": "sha256-YWuCrtsty5vVZvu+7BchAxmcYzTMfolSPP5io8+WYCg=", "narHash": "sha256-r3dWjT8P9/Ah5m5ul4WqIWD8muj5F+/gbCdjiNVBKmU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3dc440faeee9e889fe2d1b4d25ad0f430d449356", "rev": "a77ab169a83a4175169d78684ddd2e54486ac651",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,8 +1,8 @@
local config = {} local config = {}
config.color_scheme = "Sakura" config.color_scheme = "Catppuccin Mocha"
config.font = wezterm.font 'Hack Nerd Font Mono' config.font = wezterm.font 'Hack Nerd Font Mono'
config.font_size = 15 config.font_size = 12
config.window_background_opacity = .8 config.window_background_opacity = .8
--config.window_background_image = "/home/xqtc/dotfiles_new/walls/walls/SMT 40.png" --config.window_background_image = "/home/xqtc/dotfiles_new/walls/walls/SMT 40.png"
@ -38,7 +38,7 @@ end
config.text_background_opacity = .4 config.text_background_opacity = .4
config.enable_scroll_bar = false config.enable_scroll_bar = false
config.enable_tab_bar = true config.enable_tab_bar = true
config.enable_wayland = false config.enable_wayland = true
config.front_end = "OpenGL" config.front_end = "OpenGL"
config.warn_about_missing_glyphs = false config.warn_about_missing_glyphs = false
return config return config

View file

@ -1,19 +1,23 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
home.username = "xqtc"; home.username = "xqtc";
home.homeDirectory = "/home/xqtc"; home.homeDirectory = "/home/xqtc";
programs.git = { programs.git = {
enable = true; enable = true;
userName = "xqtc161"; userName = "xqtc161";
userEmail = "xqtc@tutanota.com"; userEmail = "xqtc@tutanota.com";
}; };
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
extraConfig = builtins.readFile ./config-files/wezterm.lua; extraConfig = builtins.readFile ./config-files/wezterm.lua;
}; };
#programs.dconf.enable = true;
#programs.easyeffects.enable = true;
#services.easyeffects.enable = true;
programs = { programs = {
atuin = { atuin = {
enable = true; enable = true;
enableNushellIntegration = true; enableNushellIntegration = true;
@ -66,9 +70,12 @@
telegram-desktop telegram-desktop
#schildichat-desktop #schildichat-desktop
neovide
yubioath-flutter yubioath-flutter
steam steam
protonup-qt
spotify spotify
sayonara sayonara

View file

@ -42,7 +42,7 @@
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.production; package = config.boot.kernelPackages.nvidiaPackages.stable;
}; };
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
@ -71,11 +71,13 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true; #services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; #services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.defaultSession = "plasmawayland";
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
virtualisation.docker.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb.layout = "us"; services.xserver.xkb.layout = "us";
@ -86,7 +88,18 @@
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
audio.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
jack.enable = true;
};
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true; services.xserver.libinput.enable = true;
@ -94,7 +107,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.xqtc = { users.users.xqtc = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [ "wheel" "sudo" "docker" ]; # Enable sudo for the user.
packages = with pkgs; [ packages = with pkgs; [
wezterm wezterm
nushell nushell
@ -105,13 +118,26 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
#git #git
firefox
neovim firefox
gcc13
cargo neovim
gcc13
cargo
rustc
wl-clipboard
xclip
jellyfin
jellyfin-web
jellyfin-ffmpeg
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
@ -124,10 +150,23 @@
# List services that you want to enable: # List services that you want to enable:
services.jellyfin.enable = true;
services.jellyfin.user = "xqtc";
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
services.resolved.enable = true;
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
networking.wireguard.enable = true;
services.tailscale.enable = true;
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];

View file

@ -23,6 +23,10 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/mnt" =
{ device = "/dev/disk/by-uuid/bc68de4c-ad5c-4016-ac11-65de448949fe";
fsType = "ext4";
};
swapDevices = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking