This commit is contained in:
joygnu 2024-07-01 07:50:23 +02:00
parent af4dcc4c9e
commit a4ebc6c502
7 changed files with 25 additions and 44 deletions

View file

@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1719180626, "lastModified": 1719418488,
"narHash": "sha256-vZAzm5KQpR6RGple1dzmSJw5kPivES2heCFM+ZWkt0I=", "narHash": "sha256-Hu75KIbGLJA8qe42rO5WkRQ+E+BuzjS42bNEZcy9zT8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6b1f90a8ff92e81638ae6eb48cd62349c3e387bb", "rev": "607f969f5dca2dc100cbc53e24ab49ac24ef8987",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -57,16 +57,15 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1719075281, "lastModified": 1719434778,
"narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=", "narHash": "sha256-NY8fignXmx/2sq4FTpXxT/ae5ZPhhe+HhSNFVeI5q60=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af", "rev": "2a7a89b98262acbcde7810ce15c17433239367cc",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -2,7 +2,7 @@
description = "Nixos config flake"; description = "Nixos config flake";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs";
nix-colors.url = "github:misterio77/nix-colors"; nix-colors.url = "github:misterio77/nix-colors";
home-manager = { home-manager = {

View file

@ -28,8 +28,6 @@
monitor = "DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10"; monitor = "DP-1,2560x1440@165.00Hz,0x0,1,bitdepth,10";
env = [ env = [
# "XCURSOR_THEME = Bibata-Modern-Ice "
# "XCURSOR_SIZE = 24 "
"HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_THEME = Bibata-Modern-Ice"
"HYPRCURSOR_SIZE = 24" "HYPRCURSOR_SIZE = 24"
]; ];
@ -41,6 +39,7 @@
"waybar &" "waybar &"
"wl-paste --type text --watch cliphist store" "wl-paste --type text --watch cliphist store"
"wl-paste --type image --watch cliphist store" "wl-paste --type image --watch cliphist store"
"cmus-remote -s"
]; ];
@ -54,11 +53,11 @@
"$mod, F, exec, freetube" "$mod, F, exec, freetube"
"$mod, C, exec, hyprpicker -a" "$mod, C, exec, hyprpicker -a"
"$mod, A, exec, rofi -show drun" "$mod, A, exec, rofi -show drun"
"$mod, D, exec, prismlauncher -l minecraft"
"$mod+Shift, Z, exec, grim - | swappy -f -" "$mod+Shift, Z, exec, grim - | swappy -f -"
"$mod, Z, exec, sh ~/nix/home/hyprland/screen.sh"
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy" "$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
# contoles # controles
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, W, togglefloating" "$mod, W, togglefloating"
"$mod, R, togglesplit" "$mod, R, togglesplit"
@ -68,15 +67,10 @@
"$mod+shift, M, exit, hyprland" "$mod+shift, M, exit, hyprland"
# mocp # mocp
"$mod, P, exec, mocp -f" "$mod, O, exec, cmus-remote --next"
"$mod, O, exec, mocp -r" "$mod, P, exec, cmus-remote --pause"
"$mod, I, exec, mocp --volume +5" "$mod, I, exec, cmus-remote -v +5%"
"$mod, U, exec, mocp --volume -5" "$mod, U, exec, cmus-remote -v -5%"
"$mod, N, exec, alacritty -e mocp"
# Scripts
"$mod, J, exec, sh ~/nix/home/hyprland/pause.sh"
"$mod, Z, exec, sh ~/nix/home/hyprland/screen.sh"
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
"$mod, Return, fullscreen" "$mod, Return, fullscreen"
@ -116,9 +110,9 @@
]; ];
general = { general = {
gaps_in = 3; gaps_in = 1;
gaps_out = 5; gaps_out = 1;
border_size = 0; border_size = 2;
allow_tearing = false; allow_tearing = false;
layout = "dwindle"; layout = "dwindle";
}; };
@ -129,7 +123,7 @@
}; };
decoration = { decoration = {
rounding = 5; rounding = 0;
}; };
input = { input = {

View file

@ -8,6 +8,5 @@
./misc ./misc
./gdm ./gdm
./ssh ./ssh
#./retro
]; ];
} }

View file

@ -24,12 +24,13 @@
time.timeZone = "Europe/Zurich"; time.timeZone = "Europe/Zurich";
programs.thunar.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
services.devmon.enable = true; services.devmon.enable = true;
services.udisks2.enable = true; services.udisks2.enable = true;
services.gvfs.enable = true; services.gvfs.enable = true;
programs.nix-ld.enable = true;
boot.binfmt.registrations.appimage = { boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false; wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run"; interpreter = "${pkgs.appimage-run}/bin/appimage-run";

View file

@ -12,7 +12,7 @@
syncthing = { syncthing = {
enable = true; enable = true;
user = "joy"; user = "joy";
dataDir = "/home/joy/sync"; dataDir = "/home/joy/";
configDir = "/home/joy/.config/syncthing"; configDir = "/home/joy/.config/syncthing";
}; };
}; };
@ -42,14 +42,13 @@
#image/video/music/recording #image/video/music/recording
imv imv
mpv mpv
moc
obs-studio
cmus cmus
obs-studio
#gui stuff #gui stuff
ark ark
keepassxc keepassxc
signal-desktop signal-desktop
transmission-gtk transmission_3-gtk
upscayl upscayl
cinnamon.nemo cinnamon.nemo
firefox firefox
@ -59,6 +58,8 @@
gnome.gnome-calculator gnome.gnome-calculator
gnome.gnome-disk-utility gnome.gnome-disk-utility
#random utils #random utils
ffmpeg
python3
rofi-wayland rofi-wayland
screen screen
git git

View file

@ -1,13 +0,0 @@
{ pkgs, config, ...}:
{
environment.systemPackages = with pkgs; [
emulationstation-de
retroarchFull
dolphin-emu
];
nixpkgs.config.permittedInsecurePackages = [
"freeimage-unstable-2021-11-01"
];
}