Compare commits
No commits in common. "9308bc4aba9141ff287516bd27e3c6bbafbae56b" and "ecfef4074e5e0f81b67bbe58926c84dccaf80b93" have entirely different histories.
9308bc4aba
...
ecfef4074e
4 changed files with 19 additions and 71 deletions
|
@ -1,33 +1,28 @@
|
||||||
add_newline = false
|
add_newline = false
|
||||||
|
|
||||||
format = """
|
prompt_order = [
|
||||||
$username\
|
"username",
|
||||||
$hostname\
|
"hostname",
|
||||||
$kubernetes\
|
"kubernetes",
|
||||||
$directory\
|
"directory",
|
||||||
$git_branch\
|
"git_branch",
|
||||||
$git_commit\
|
"git_commit",
|
||||||
$git_state\
|
"git_state",
|
||||||
$git_status\
|
"git_status",
|
||||||
$nix_shell\
|
"nix_shell",
|
||||||
$cmd_duration\
|
"cmd_duration",
|
||||||
$custom\
|
"custom",
|
||||||
$line_break\
|
"line_break",
|
||||||
$jobs\
|
"jobs",
|
||||||
$battery\
|
"battery",
|
||||||
$character\
|
"character",
|
||||||
"""
|
]
|
||||||
|
|
||||||
[username]
|
[username]
|
||||||
show_always = true
|
show_always = true
|
||||||
format = "[$user]($style)@"
|
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
format = "[$hostname]($style) "
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
format = "[$symbol$branch]($style)"
|
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
use_symbol_for_status = false
|
use_symbol_for_status = false
|
||||||
|
|
|
@ -33,7 +33,7 @@ floating_modifier $mod normal
|
||||||
bindsym $mod+Shift+c reload
|
bindsym $mod+Shift+c reload
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||||
bindsym $mod+Shift+p exec keepassxc
|
bindsym $mod+Shift+p exec keepassxc
|
||||||
bindsym $mod+z exec swaylock -t -i /home/stefan/Downloads/bg.jpg --scaling=fill
|
bindsym $mod+z exec swaylock -t -i /home/stefan/Downloads/bg.jpg
|
||||||
bindsym $mod+Up exec light -A 5
|
bindsym $mod+Up exec light -A 5
|
||||||
bindsym $mod+Down exec light -U 5
|
bindsym $mod+Down exec light -U 5
|
||||||
bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png
|
bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png
|
||||||
|
|
|
@ -1,46 +0,0 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
|
||||||
in {
|
|
||||||
imports =
|
|
||||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
|
||||||
];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "tank/root/nixos";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/home" =
|
|
||||||
{ device = "tank/root/home";
|
|
||||||
fsType = "zfs";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/1339-E59C";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
||||||
|
|
||||||
# custom
|
|
||||||
boot.kernelPackages = unstable.linuxPackages_latest;
|
|
||||||
boot.loader.systemd-boot.enable = true;
|
|
||||||
networking.hostId = "ef3a5d57";
|
|
||||||
networking.hostName = "discovery";
|
|
||||||
powerManagement.powertop.enable = true;
|
|
||||||
services.tlp.enable = true;
|
|
||||||
|
|
||||||
}
|
|
|
@ -111,11 +111,10 @@ in {
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "/home/stefan";
|
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
package = unstable.syncthing;
|
|
||||||
user = "stefan";
|
user = "stefan";
|
||||||
group = "users";
|
group = "users";
|
||||||
|
dataDir = "/home/stefan";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.avahi.enable = true;
|
services.avahi.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue