`date`
This commit is contained in:
parent
4c8460ce84
commit
c643f70f98
|
@ -16,16 +16,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs =
|
||||||
self,
|
{ self
|
||||||
nixpkgs,
|
, nixpkgs
|
||||||
home-manager,
|
, home-manager
|
||||||
split-monitor-workspaces,
|
, split-monitor-workspaces
|
||||||
...
|
, ...
|
||||||
}@inputs: let
|
}@inputs:
|
||||||
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
nixos = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; }; # allows access to flake inputs in nixos modules
|
specialArgs = { inherit inputs; }; # allows access to flake inputs in nixos modules
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
[
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||||
|
@ -14,12 +15,14 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/563963bd-8e27-4c9c-a1d6-d204ea7c43ff";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/563963bd-8e27-4c9c-a1d6-d204ea7c43ff";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/9F3C-9F3B";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/9F3C-9F3B";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{ inputs
|
||||||
inputs,
|
, config
|
||||||
config,
|
, pkgs
|
||||||
pkgs,
|
, ...
|
||||||
...
|
}:
|
||||||
}: let
|
let
|
||||||
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
hyprland = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||||
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
||||||
|
@ -51,7 +51,8 @@
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
services.kdeconnect = {
|
services.kdeconnect = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.kdePackages.kdeconnect-kde;
|
package = pkgs.kdePackages.kdeconnect-kde;
|
||||||
|
@ -215,13 +216,17 @@ in {
|
||||||
++ (
|
++ (
|
||||||
# workspaces
|
# workspaces
|
||||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||||
builtins.concatLists (builtins.genList (
|
builtins.concatLists (builtins.genList
|
||||||
x: let
|
(
|
||||||
ws = let
|
x:
|
||||||
|
let
|
||||||
|
ws =
|
||||||
|
let
|
||||||
c = (x + 1) / 10;
|
c = (x + 1) / 10;
|
||||||
in
|
in
|
||||||
builtins.toString (x + 1 - (c * 10));
|
builtins.toString (x + 1 - (c * 10));
|
||||||
in [
|
in
|
||||||
|
[
|
||||||
"$mainMod, ${ws}, split-workspace, ${toString (x + 1)}"
|
"$mainMod, ${ws}, split-workspace, ${toString (x + 1)}"
|
||||||
"$mod SHIFT, ${ws}, split-movetoworkspace, ${toString (x + 1)}"
|
"$mod SHIFT, ${ws}, split-movetoworkspace, ${toString (x + 1)}"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue