shits fucked

This commit is contained in:
Aria Nolan 2023-10-29 21:48:09 -04:00
parent 9e68baee1c
commit b3dd6afe04
6 changed files with 35 additions and 11 deletions

View file

@ -108,6 +108,22 @@
"type": "github" "type": "github"
} }
}, },
"nixos-hardware": {
"locked": {
"lastModified": 1698053470,
"narHash": "sha256-sP8D/41UiwC2qn0X40oi+DfuVzNHMROqIWdSdCI/AYA=",
"owner": "NixOs",
"repo": "nixos-hardware",
"rev": "80d98a7d55c6e27954a166cb583a41325e9512d7",
"type": "github"
},
"original": {
"owner": "NixOs",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1697723726, "lastModified": 1697723726,
@ -128,6 +144,7 @@
"inputs": { "inputs": {
"helix": "helix", "helix": "helix",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
}, },

View file

@ -11,6 +11,7 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixos-hardware.url = "github:NixOs/nixos-hardware/master";
}; };
# pass in the urls defined above # pass in the urls defined above
@ -20,6 +21,7 @@
nixpkgs, nixpkgs,
home-manager, home-manager,
helix, helix,
nixos-hardware,
... ...
}: let }: let
system = "x86_64-linux"; system = "x86_64-linux";
@ -45,13 +47,12 @@
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ modules = [
./hosts/JWST/configuration.nix ./hosts/JWST/configuration.nix
nixos-hardware.nixosModules.dell-xps-15-9520
nixos-hardware.nixosModules.common-gpu-nvidia-disable
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.users."tacocat".modules = [ home-manager.users."tacocat" = ./users/tacocat/home.nix;
./users/tacocat/home.nix
./users/tacocat/wayland
];
home-manager.extraSpecialArgs = {inherit inputs;}; home-manager.extraSpecialArgs = {inherit inputs;};
} }
]; ];
@ -63,7 +64,6 @@
extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
modules = [ modules = [
./users/tacocat/home.nix ./users/tacocat/home.nix
./users/tacocat/wayland
]; ];
}; };

View file

@ -14,7 +14,7 @@
boot.loader = { boot.loader = {
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
# efi.efiSysMountPoint = "/boot/efi"; efi.efiSysMountPoint = "/boot/efi";
grub = { grub = {
efiSupport = true; efiSupport = true;
configurationLimit = 10; configurationLimit = 10;
@ -68,9 +68,9 @@
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
extraPackages = with pkgs; [ #extraPackages = with pkgs; [
intel-compute-runtime # intel-compute-runtime
]; #];
}; };
hardware.opentabletdriver.enable = true; hardware.opentabletdriver.enable = true;
@ -87,6 +87,7 @@
}; };
programs.river.enable = true; programs.river.enable = true;
programs.sway.enable = true;
# programs.river.extraPackages = with pkgs; [ # programs.river.extraPackages = with pkgs; [
# swaylock # swaylock
# swayidle # swayidle

View file

@ -28,6 +28,11 @@
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/F54B-C04F";
fsType = "vfat";
};
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/802e89ce-52b8-41b9-85ea-b969ab08765f"; } [ { device = "/dev/disk/by-uuid/802e89ce-52b8-41b9-85ea-b969ab08765f"; }
]; ];

View file

@ -49,6 +49,7 @@
./shell ./shell
./helix ./helix
./emacs ./emacs
./wayland
]; ];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.

View file

@ -5,7 +5,7 @@
# Note: the "Super" modifier is also known as Logo, GUI, Windows, Mod4, etc. # Note: the "Super" modifier is also known as Logo, GUI, Windows, Mod4, etc.
riverctl spawn "dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND _DISPLAY XDG_CURRENT_DESKTOP=river" # riverctl spawn "dbus-update-activation-environment SEATD_SOCK DISPLAY WAYLAND _DISPLAY XDG_CURRENT_DESKTOP=river"
riverctl map normal Super+Shift Return spawn 'kitty --single-instance' riverctl map normal Super+Shift Return spawn 'kitty --single-instance'
riverctl map normal Super D spawn 'rofi -show drun' riverctl map normal Super D spawn 'rofi -show drun'
@ -177,4 +177,4 @@ else
fi fi
# autostart apps # autostart apps
bash "$HOME/.config/river/process" # "$HOME/.config/river/process"