cosmic on laptop, config
This commit is contained in:
parent
faae2ab70e
commit
038c493fbd
4 changed files with 17 additions and 6 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
|
# aagl.url = "github:ezKEa/aagl-gtk-on-nix";
|
||||||
|
# aagl.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# parsec-bin
|
# parsec-bin
|
||||||
gamemode
|
gamemode
|
||||||
|
|
|
||||||
15
flake.nix
15
flake.nix
|
|
@ -30,16 +30,19 @@
|
||||||
url = "github:lilyinstarlight/nixos-cosmic";
|
url = "github:lilyinstarlight/nixos-cosmic";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
# aagl.url = "github:ezKEa/aagl-gtk-on-nix";
|
|
||||||
# aagl.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
|
|
||||||
# prescurve.url = "github:taotien/prescurve";
|
# prescurve.url = "github:taotien/prescurve";
|
||||||
# prescurve.inputs.nixpkgs.follows = "nixpkgs";
|
# prescurve.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = ["https://cosmic.cachix.org/" "https://helix.cachix.org/"];
|
extra-substituters = [
|
||||||
extra-trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" "helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="];
|
"https://cosmic.cachix.org/"
|
||||||
|
"https://helix.cachix.org/"
|
||||||
|
];
|
||||||
|
extra-trusted-public-keys = [
|
||||||
|
"cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="
|
||||||
|
"helix.cachix.org-1:ejp9KQpR1FBI2onstMQ34yogDm4OgU2ru6lIwPvuCVs="
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|
@ -92,6 +95,8 @@
|
||||||
./extras/uwuraid.nix
|
./extras/uwuraid.nix
|
||||||
./extras/dev.nix
|
./extras/dev.nix
|
||||||
./extras/gaming.nix
|
./extras/gaming.nix
|
||||||
|
nixos-cosmic.nixosModules.default
|
||||||
|
./extras/cosmic.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
NOmom = nixpkgs.lib.nixosSystem {
|
NOmom = nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
||||||
|
|
@ -96,13 +96,13 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.userDirs = {
|
xdg.userDirs = {
|
||||||
|
desktop = "desktop";
|
||||||
documents = "documents";
|
documents = "documents";
|
||||||
download = "downloads";
|
download = "downloads";
|
||||||
music = "music";
|
music = "music";
|
||||||
pictures = "pictures";
|
pictures = "pictures";
|
||||||
templates = "templates";
|
templates = "templates";
|
||||||
videos = "videos";
|
videos = "videos";
|
||||||
desktop = null;
|
|
||||||
publicShare = null;
|
publicShare = null;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
source ~/.cache/starship/init.nu
|
source ~/.cache/starship/init.nu
|
||||||
source ~/.zoxide.nu
|
source ~/.zoxide.nu
|
||||||
def bump [] {
|
def bump [] {
|
||||||
|
cd /home/tao/projects/NOflake/;
|
||||||
|
jj new -B @ -m "bump";
|
||||||
nix flake update;
|
nix flake update;
|
||||||
rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix;
|
rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix;
|
||||||
|
sudo nixos-rebuild --flake /home/tao/projects/NOflake/ boot;
|
||||||
};
|
};
|
||||||
alias b = btm;
|
alias b = btm;
|
||||||
alias cringe = sudo bootctl set-oneshot auto-windows
|
alias cringe = sudo bootctl set-oneshot auto-windows
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue