Compare commits

..

3 commits

Author SHA1 Message Date
04325f9867
add sway keybindings 2024-06-05 12:29:07 -04:00
633aa1b96d
Update flake.lock
Flake lock file updates:

• Updated input 'agenix':
    'github:ryantm/agenix/8d37c5bdeade12b6479c85acd133063ab53187a0' (2024-05-09)
  → 'github:ryantm/agenix/c2fc0762bbe8feb06a2e59a364fa81b3a57671c9' (2024-05-24)
• Updated input 'home-manager':
    'github:nix-community/home-manager/057117a401a34259c9615ce62218aea7afdee4d3' (2024-04-19)
  → 'github:nix-community/home-manager/a7117efb3725e6197dd95424136f79147aa35e5b' (2024-06-04)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3eaeaeb6b1e08a016380c279f8846e0bd8808916' (2024-05-21)
  → 'github:NixOS/nixpkgs/57610d2f8f0937f39dbd72251e9614b1561942d8' (2024-05-31)
• Removed input 'nvidia-beta'
2024-06-05 10:29:03 -04:00
2d3c5644d1
remove nvidia override, remove waybar override 2024-06-05 10:28:35 -04:00
5 changed files with 33 additions and 43 deletions

View file

@ -129,9 +129,9 @@
programs.waybar = {
enable = true;
package = pkgs.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
});
#package = pkgs.waybar.overrideAttrs (oldAttrs: {
# mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
#});
#config = {
# modules = [{module = "wlr/workspace"};];
#};

View file

@ -10,11 +10,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1715290355,
"narHash": "sha256-2T7CHTqBXJJ3ZC6R/4TXTcKoXWHcvubKNj9SfomURnw=",
"lastModified": 1716561646,
"narHash": "sha256-UIGtLO89RxKt7RF2iEgPikSdU53r6v/6WYB0RW3k89I=",
"owner": "ryantm",
"repo": "agenix",
"rev": "8d37c5bdeade12b6479c85acd133063ab53187a0",
"rev": "c2fc0762bbe8feb06a2e59a364fa81b3a57671c9",
"type": "github"
},
"original": {
@ -95,11 +95,11 @@
]
},
"locked": {
"lastModified": 1713566308,
"narHash": "sha256-7Y91t8pheIzjJveUMAPyeh5NOq5F49Nq4Hl2532QpJs=",
"lastModified": 1717525419,
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "057117a401a34259c9615ce62218aea7afdee4d3",
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b",
"type": "github"
},
"original": {
@ -110,11 +110,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1716293225,
"narHash": "sha256-pU9ViBVE3XYb70xZx+jK6SEVphvt7xMTbm6yDIF4xPs=",
"lastModified": 1717196966,
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3eaeaeb6b1e08a016380c279f8846e0bd8808916",
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
"type": "github"
},
"original": {
@ -124,29 +124,12 @@
"type": "github"
}
},
"nvidia-beta": {
"locked": {
"lastModified": 1716316820,
"narHash": "sha256-mcbyy0lbUYuPbNIggb2Fy020iJhs7uI5Vfny3pVsSqY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d5c3f1ef368b44fa63ff2a5b79578b9acbbb40db",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d5c3f1ef368b44fa63ff2a5b79578b9acbbb40db",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
"flatpaks": "flatpaks",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs",
"nvidia-beta": "nvidia-beta"
"nixpkgs": "nixpkgs"
}
},
"systems": {

View file

@ -2,11 +2,8 @@
inputs = {
# ...
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nvidia-beta.url = "github:NixOS/nixpkgs/d5c3f1ef368b44fa63ff2a5b79578b9acbbb40db";
flatpaks.url = "github:GermanBread/declarative-flatpak/dev";
flatpaks.inputs.nixpkgs.follows = "nixpkgs";
#hyprland.url = "github:hyprwm/Hyprland";
#hyprland.inputs.nixpkgs.follows = "nixpkgs";
agenix.url = "github:ryantm/agenix";
agenix.inputs.nixpkgs.follows = "nixpkgs";
home-manager = {

View file

@ -280,6 +280,15 @@
};
};
keybindings = let
modifier = config.wayland.windowManager.sway.config.modifier;
in lib.mkOptionDefault {
#"''${modifier}+Return" = "exec ${cfg.config.terminal}";
"${modifier}+c" = "kill";
"${modifier}+r" = "exec ${config.wayland.windowManager.sway.config.menu}";
"${modifier}+p" = "exec grim -g \"\$(slurp)\" - | wl-copy";
"${modifier}+v" = "floating toggle";
};
startup = [
# Launch Firefox on start
{command = "wayvnc 100.120.210.58";}
@ -317,7 +326,8 @@ set $surface1 #51576d
set $surface0 #414559
set $base #303446
set $mantle #292c3c
set $crust #232634'';
set $crust #232634
seat seat0 xcursor_theme Catppuccin-Frappe-Blue-Cursors'';
};
home.stateVersion = "23.05";

View file

@ -3,15 +3,15 @@
environment.etc.nixpkgs.source = inputs.nixpkgs;
networking.hostName = "insertpclinux";
services.xserver.videoDrivers = ["nvidia"];
nixpkgs.overlays = [ (self: super: (let
patched_pkgs = import inputs.nvidia-beta {
inherit (self) system;
config.allowUnfree = true;
};
in {
linuxPackages = patched_pkgs.linuxPackages;
})) ];
boot.kernelPackages = pkgs.linuxPackages;
#nixpkgs.overlays = [ (self: super: (let
# patched_pkgs = import inputs.nvidia-beta {
# inherit (self) system;
# config.allowUnfree = true;
# };
# in {
# linuxPackages = patched_pkgs.linuxPackages;
# })) ];
#boot.kernelPackages = pkgs.linuxPackages;
services.sunshine = {
enable = true;