Compare commits

..

No commits in common. "8d8bb26d7f1581c36380ede871282178a0dc1290" and "91b17f861ab48ebc2d029706a433d2dc24c0f26a" have entirely different histories.

5 changed files with 22 additions and 98 deletions

99
flake.lock generated
View File

@ -24,11 +24,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1733823637,
"narHash": "sha256-xODinzazQwJnw1W7517zQeGlRno9LaM6bj3ROXVvwfQ=",
"lastModified": 1733198595,
"narHash": "sha256-7n66bpxbXkwBow1VSVHQe+rEW+8zPyawmDJ7Rd0uHNI=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "c263b58f0bc149e2f3648bb07afe4aa96267a9d6",
"rev": "51d5446f359b67d5b6fdf45a145391c4d8679b3e",
"type": "gitlab"
},
"original": {
@ -88,27 +88,6 @@
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"nur",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"locked": {
"lastModified": 1629284811,
@ -151,11 +130,11 @@
]
},
"locked": {
"lastModified": 1733769654,
"narHash": "sha256-aVvYDt8eitZVF6fdOrSoIzYRkQ5Gh6kfRvqkiaDRLL0=",
"lastModified": 1733175814,
"narHash": "sha256-zFOtOaqjzZfPMsm1mwu98syv3y+jziAq5DfWygaMtLg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e952e94955dcc6fa2120c1430789fc41363f5237",
"rev": "bf23fe41082aa0289c209169302afd3397092f22",
"type": "github"
},
"original": {
@ -191,11 +170,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1733570843,
"narHash": "sha256-sQJAxY1TYWD1UyibN/FnN97paTFuwBw3Vp3DNCyKsMk=",
"lastModified": 1733105089,
"narHash": "sha256-Qs3YmoLYUJ8g4RkFj2rMrzrP91e4ShAioC9s+vG6ENM=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "a35b08d09efda83625bef267eb24347b446c80b8",
"rev": "c6b65d946097baf3915dd51373251de98199280d",
"type": "github"
},
"original": {
@ -221,11 +200,11 @@
},
"nixpkgs-2405": {
"locked": {
"lastModified": 1733730953,
"narHash": "sha256-dlK7n82FEyZlHH7BFHQAM5tua+lQO1Iv7aAtglc1O5s=",
"lastModified": 1733016324,
"narHash": "sha256-8qwPSE2g1othR1u4uP86NXxm6i7E9nHPyJX3m3lx7Q4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7109b680d161993918b0a126f38bc39763e5a709",
"rev": "7e1ca67996afd8233d9033edd26e442836cc2ad6",
"type": "github"
},
"original": {
@ -251,27 +230,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1733759999,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
"lastModified": 1733015953,
"narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1733759999,
"narHash": "sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a73246e2eef4c6ed172979932bc80e1404ba2d56",
"rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff",
"type": "github"
},
"original": {
@ -282,17 +245,12 @@
}
},
"nur": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_4",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1733838654,
"narHash": "sha256-EfWbtK0v+avWV6NlX4uXCTy/MUvWQfPpLfC5UPLgdsM=",
"lastModified": 1733215745,
"narHash": "sha256-RIlhnKlObJ1sEdzBP6Nuy4jLUiQnmWWXVsRHRbv6SzY=",
"owner": "nix-community",
"repo": "NUR",
"rev": "7a6f816d46e34b05efb80e2e12378b6199882da5",
"rev": "251d756a74e67bda25d89327b01a3da19dddabae",
"type": "github"
},
"original": {
@ -328,27 +286,6 @@
"repo": "default-darwin",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nur",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733222881,
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",

View File

@ -13,16 +13,10 @@
config = {
home.stateVersion = "22.05";
programs.home-manager.enable = true;
programs.direnv = {
enable = true;
enableBashIntegration = true; # see note on other shells below
nix-direnv.enable = true;
};
nixpkgs = {
config.allowUnfree = true;
overlays = [ inputs.nur.overlays.default ];
overlays = [ inputs.nur.overlay ];
};
fonts.fontconfig.enable = true;

View File

@ -61,7 +61,7 @@
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
hardware.graphics = {
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver # LIBVA_DRIVER_NAME=iHD

View File

@ -33,7 +33,6 @@
zotero
signal-desktop
freetube
inputs.nixpkgs-2405.legacyPackages.${system}.cura
];
dconf.settings = {

View File

@ -46,19 +46,13 @@
tolower = "tr [:upper:] [:lower:]";
rebuild = if (os == "linux") then ''
cd $HOME/.local/os &&
nix flake update --commit-lock-file &&
nix flake update --commit-lock-file
nixos-rebuild switch --flake "path:$HOME/.local/os#" --use-remote-sudo &&
git add . &&
git commit -m "update" &&
git push &&
cd -
'' else ''
cd $HOME/.local/os &&
nix flake update --commit-lock-file &&
nix flake update --commit-lock-file
home-manager switch &&
git add . &&
git commit -m "update" &&
git push &&
cd -
'';
":r" = "!!";